diff options
author | Nick Cao <nickcao@nichi.co> | 2022-12-20 19:04:43 +0800 |
---|---|---|
committer | Nick Cao <nickcao@nichi.co> | 2022-12-31 15:37:42 +0800 |
commit | eb96c7ab43872cf26952d4a57d4104cc3619cde3 (patch) | |
tree | bd8b7390675699696724aeed32332319bde26441 /pkgs | |
parent | 9269a0e15385ce1a1b007b3c901499eb499549cc (diff) |
sequoia-chameleon-gnupg: init at 0.1.1
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/tools/security/sequoia-chameleon-gnupg/default.nix | 33 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
2 files changed, 35 insertions, 0 deletions
diff --git a/pkgs/tools/security/sequoia-chameleon-gnupg/default.nix b/pkgs/tools/security/sequoia-chameleon-gnupg/default.nix new file mode 100644 index 0000000000000..c83c7fb4cfe3a --- /dev/null +++ b/pkgs/tools/security/sequoia-chameleon-gnupg/default.nix @@ -0,0 +1,33 @@ +{ lib +, rustPlatform +, fetchFromGitLab +, pkg-config +, nettle +}: + +rustPlatform.buildRustPackage rec { + pname = "sequoia-chameleon-gnupg"; + version = "0.1.1"; + + src = fetchFromGitLab { + owner = "sequoia-pgp"; + repo = pname; + rev = "v${version}"; + hash = "sha256-liQNz833/3hi3eMi+/iEZ8fT9FFi+MrDIYbQD+dQ/p0="; + }; + + cargoHash = "sha256-bnScLSI94obYQH5YzoHY4DtGScKc4m24+SIg1d2kAKw="; + + nativeBuildInputs = [ rustPlatform.bindgenHook pkg-config ]; + buildInputs = [ nettle ]; + + # gpgconf: error creating socket directory + doCheck = false; + + meta = with lib; { + description = "Sequoia's reimplementation of the GnuPG interface"; + homepage = "https://gitlab.com/sequoia-pgp/sequoia-chameleon-gnupg"; + license = licenses.gpl3Plus; + maintainers = with maintainers; [ nickcao ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 967dcde1c9a5c..9668bdcfb5a5d 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -11548,6 +11548,8 @@ with pkgs; pythonPackages = python3Packages; }; + sequoia-chameleon-gnupg = callPackage ../tools/security/sequoia-chameleon-gnupg { }; + sewer = callPackage ../tools/admin/sewer { }; sfeed = callPackage ../tools/misc/sfeed { }; |