12 rustPlatform.buildRustPackage rec {
13 pname = "sequoia-chameleon-gnupg";
16 src = fetchFromGitLab {
17 owner = "sequoia-pgp";
20 hash = "sha256-XoZA8X6lwziKFECJDPCSpqcFtJe5TsDGWvM+EgpBU3U=";
23 cargoHash = "sha256-xDQCAte+olmoMbchspNW/02NRkhwWxcgPkIXWBJsbIg=";
26 rustPlatform.bindgenHook
34 ] ++ lib.optionals stdenv.hostPlatform.isDarwin [
35 darwin.apple_sdk.frameworks.Security
36 darwin.apple_sdk.frameworks.SystemConfiguration
39 # gpgconf: error creating socket directory
43 description = "Sequoia's reimplementation of the GnuPG interface";
44 homepage = "https://gitlab.com/sequoia-pgp/sequoia-chameleon-gnupg";
45 license = licenses.gpl3Plus;
46 maintainers = with maintainers; [ nickcao ];