depot/third_party/nixpkgs/pkgs/by-name/se/sequoia-chameleon-gnupg/package.nix
Luke Granger-Brown f92e137cfb
Some checks failed
/ combine-systems (push) Blocked by required conditions
/ build (x86_64-linux) (push) Failing after 11m44s
/ build (aarch64-linux) (push) Failing after 11m50s
/ build (push) Failing after 16m42s
Merge commit '1e2ed035f4bebc9adad02b365508ad96f7df87c1' into HEAD
2025-03-02 02:23:32 +00:00

47 lines
946 B
Nix

{
lib,
stdenv,
rustPlatform,
fetchFromGitLab,
pkg-config,
nettle,
openssl,
sqlite,
}:
rustPlatform.buildRustPackage rec {
pname = "sequoia-chameleon-gnupg";
version = "0.12.0";
src = fetchFromGitLab {
owner = "sequoia-pgp";
repo = pname;
rev = "v${version}";
hash = "sha256-2EJDpiNYrNh8Ojhs6jSsaLV5zKExShiIor3/Tjue+y8=";
};
useFetchCargoVendor = true;
cargoHash = "sha256-DKMz8unxxH4crjN8X1Ulh61jBtFSTVNrzFBkEs0RnGM=";
nativeBuildInputs = [
rustPlatform.bindgenHook
pkg-config
];
buildInputs = [
nettle
openssl
sqlite
];
# 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 ];
mainProgram = "gpg-sq";
};
}