Files
nixpkgs/pkgs/by-name/gi/git-agecrypt/package.nix
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

42 lines
820 B
Nix

{
lib,
fetchFromGitHub,
rustPlatform,
libgit2,
git,
pkg-config,
zlib,
}:
rustPlatform.buildRustPackage {
pname = "git-agecrypt";
version = "0-unstable-2024-03-11";
src = fetchFromGitHub {
owner = "vlaci";
repo = "git-agecrypt";
rev = "126be86c515466c5878a60561f754a9ab4af6ee8";
hash = "sha256-cmnBW/691mmLHq8tWpD3+zwCf7Wph5fcVdSxQGxqd1k=";
};
cargoHash = "sha256-71puTOjuV3egkip8pbiYbKxfhoZYtnirp4NrgiXR13I=";
nativeBuildInputs = [
pkg-config
git
];
buildInputs = [
libgit2
zlib
];
meta = {
description = "Alternative to git-crypt using age instead of GPG";
homepage = "https://github.com/vlaci/git-agecrypt";
license = lib.licenses.mpl20;
maintainers = with lib.maintainers; [ kuznetsss ];
mainProgram = "git-agecrypt";
};
}