nix-config/pkgs/notes/default.nix
Oliver Davies ed3d12bb5a
All checks were successful
/ check (push) Successful in 1m9s
Update notes to the most recent commit
2025-05-06 17:36:59 +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
'';
}