12 rustPlatform.buildRustPackage {
13 pname = "git-agecrypt";
14 version = "unstable-2024-03-11";
16 src = fetchFromGitHub {
18 repo = "git-agecrypt";
19 rev = "126be86c515466c5878a60561f754a9ab4af6ee8";
20 hash = "sha256-cmnBW/691mmLHq8tWpD3+zwCf7Wph5fcVdSxQGxqd1k=";
23 cargoHash = "sha256-FmlJeWMIIyTsg3TTLUia14et+aTgFCTkOr1J5dp0SGY=";
25 nativeBuildInputs = [ pkg-config git ];
27 buildInputs = [ libgit2 zlib ]
28 ++ lib.optional stdenv.hostPlatform.isDarwin darwin.apple_sdk.frameworks.Security;
32 description = "Alternative to git-crypt using age instead of GPG";
33 homepage = "https://github.com/vlaci/git-agecrypt";
34 license = licenses.mpl20;
35 maintainers = with maintainers; [ kuznetsss ];
36 mainProgram = "git-agecrypt";