{ pkgs ? import { }, ... }: pkgs.buildNpmPackage rec { pname = "obsidian.themes.minimal"; version = "7.7.7"; src = pkgs.fetchFromGitHub { owner = "kepano"; repo = "obsidian-minimal"; rev = "${version}"; hash = "sha256-Atb9ZVou4EkfppV7VvTEMG/UruKlADctbXL1M8vvhxQ="; }; npmDepsHash = "sha256-PzsZv/On8ci6EkF3WE4aez3/jQu5AqyJxFUzJk+Pn0c="; npmPackFlags = [ "--ignore-scripts" ]; nativeBuildInputs = with pkgs; [ sass ]; buildPhase = '' npx grunt cssmin ''; installPhase = '' mkdir -p $out cp ./manifest.json $out/manifest.json cp ./theme.css $out/theme.css ''; }