mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 22:03:54 +03:00
Merge pull request #63655 from minijackson/init-sequoia-tool
sequoia-tool: init at 0.9.0
This commit is contained in:
commit
872b55a8c1
32
pkgs/tools/security/sequoia-tool/default.nix
Normal file
32
pkgs/tools/security/sequoia-tool/default.nix
Normal 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;
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user