Merge pull request #63655 from minijackson/init-sequoia-tool

sequoia-tool: init at 0.9.0
This commit is contained in:
worldofpeace 2019-07-29 03:32:04 -04:00 committed by GitHub
commit 872b55a8c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,32 @@
{ stdenv, fetchFromGitLab, rustPlatform, darwin
, pkgconfig, capnproto, clang, libclang, nettle, openssl, sqlite }:
rustPlatform.buildRustPackage rec {
pname = "sequoia-tool";
version = "0.9.0";
src = fetchFromGitLab {
owner = "sequoia-pgp";
repo = "sequoia";
rev = "v${version}";
sha256 = "13dzwdzz33dy2lgnznsv8wqnw2501f2ggrkfwpqy5x6d1kgms8rj";
};
nativeBuildInputs = [ pkgconfig clang libclang ];
buildInputs = [ capnproto nettle openssl sqlite ]
++ stdenv.lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Security ];
LIBCLANG_PATH = libclang + "/lib";
cargoBuildFlags = [ "--package=sequoia-tool" ];
cargoSha256 = "1zcnkpzcar3a2fk2rn3i3nb70b59ds9fpfa44f15r3aaxajsdhdi";
meta = with stdenv.lib; {
description = "A command-line frontend for Sequoia, an implementation of OpenPGP";
homepage = https://sequoia-pgp.org/;
license = licenses.gpl3;
maintainers = with maintainers; [ minijackson ];
platforms = platforms.all;
};
}

View File

@ -5903,6 +5903,8 @@ in
seqdiag = with python3Packages; toPythonApplication seqdiag;
sequoia-tool = callPackage ../tools/security/sequoia-tool { inherit (llvmPackages) libclang; };
sewer = callPackage ../tools/admin/sewer { };
screenfetch = callPackage ../tools/misc/screenfetch { };