nix-config/packages/notes/default.nix
Oliver Davies d18476da73
All checks were successful
/ check (push) Successful in 1m27s
Refactor
2025-07-09 06:54:21 +01:00

27 lines
493 B
Nix

{ pkgs, ... }:
with pkgs;
stdenv.mkDerivation rec {
pname = "notes";
version = "unstable-2024-12-07";
src = fetchFromGitHub {
owner = "nickjj";
repo = "notes";
rev = "f4f0aab865c19132484a2c3998cd984bdb3b9514";
sha256 = "sha256-y5SkS+22tW9wf3gH26NHSnrnJ0rkBWSgKvansP8Hlbg=";
};
buildInputs = [ bash ];
patches = [
./change-filename-format.patch
];
installPhase = ''
mkdir -p $out/bin
cp notes $out/bin/notes
chmod +x $out/bin/notes
'';
}