Merge pull request #293046 from kuznetsss/Add_git-agecrypt
This commit is contained in:
commit
6824cbef09
2 changed files with 44 additions and 0 deletions
|
@ -10603,6 +10603,12 @@
|
|||
githubId = 449813;
|
||||
name = "Roman Kuznetsov";
|
||||
};
|
||||
kuznetsss = {
|
||||
email = "kuzzz99@gmail.com";
|
||||
github = "kuznetsss";
|
||||
githubId = 15742918;
|
||||
name = "Sergey Kuznetsov";
|
||||
};
|
||||
kwohlfahrt = {
|
||||
email = "kai.wohlfahrt@gmail.com";
|
||||
github = "kwohlfahrt";
|
||||
|
|
38
pkgs/by-name/gi/git-agecrypt/package.nix
Normal file
38
pkgs/by-name/gi/git-agecrypt/package.nix
Normal file
|
@ -0,0 +1,38 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, rustPlatform
|
||||
, darwin
|
||||
, libgit2
|
||||
, git
|
||||
, pkg-config
|
||||
, zlib
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage {
|
||||
pname = "git-agecrypt";
|
||||
version = "unstable-2023-07-14";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "vlaci";
|
||||
repo = "git-agecrypt";
|
||||
rev = "945b80556d8848f6e85a8cc0053f9020bdc8b359";
|
||||
hash = "sha256-6FjyJRYGyZt+uvYjXWvXI7DGq/+BNZHSSAT/DhOsF/E=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-QCV0DT0kcDRMzVc+9uTn9FYPpf+xvKJbakP6CHRcibo=";
|
||||
|
||||
nativeBuildInputs = [ pkg-config git ];
|
||||
|
||||
buildInputs = [ libgit2 zlib ]
|
||||
++ lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.Security;
|
||||
|
||||
|
||||
meta = with lib; {
|
||||
description = "Alternative to git-crypt using age instead of GPG.";
|
||||
homepage = "https://github.com/vlaci/git-agecrypt";
|
||||
license = licenses.mpl20;
|
||||
maintainers = with maintainers; [ kuznetsss ];
|
||||
mainProgram = "git-agecrypt";
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue