mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-31 12:44:44 +00:00
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>
42 lines
820 B
Nix
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";
|
|
};
|
|
}
|