Merge pull request #125130 from dotlambda/gpg-tui-init

gpg-tui: init at 0.1.5
This commit is contained in:
Maximilian Bosch 2021-06-01 11:14:41 +02:00 committed by GitHub
commit ad0879920c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 43 additions and 0 deletions

View file

@ -0,0 +1,41 @@
{ lib
, rustPlatform
, fetchFromGitHub
, gpgme
, libgpgerror
, libxcb
, python3
}:
rustPlatform.buildRustPackage rec {
pname = "gpg-tui";
version = "0.1.5";
src = fetchFromGitHub {
owner = "orhun";
repo = "gpg-tui";
rev = "v${version}";
sha256 = "1hg8a1vxrkl2737dhb46ikzhnfz87zf9pvs370l9j8h7zz1mcq66";
};
cargoSha256 = "00azv55r4ldpr6gfn77ny9rzm3yqlpimvgzx2cwkwnhgmfcq2l1j";
nativeBuildInputs = [
gpgme # for gpgme-config
libgpgerror # for gpg-error-config
python3
];
buildInputs = [
gpgme
libgpgerror
libxcb
];
meta = with lib; {
description = "Terminal user interface for GnuPG";
homepage = "https://github.com/orhun/gpg-tui";
license = licenses.mit;
maintainers = with maintainers; [ dotlambda ];
};
}

View file

@ -2724,6 +2724,8 @@ in
Accelerate CoreGraphics CoreVideo;
};
gpg-tui = callPackage ../tools/security/gpg-tui { };
goa = callPackage ../development/tools/goa { };
gohai = callPackage ../tools/system/gohai { };