Files
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

55 lines
1.2 KiB
Nix

{
lib,
stdenv,
fetchurl,
libgpg-error,
libassuan,
libgcrypt,
pkcs11helper,
pkg-config,
openssl,
}:
stdenv.mkDerivation rec {
pname = "gnupg-pkcs11-scd";
version = "0.11.0";
src = fetchurl {
url = "https://github.com/alonbl/gnupg-pkcs11-scd/releases/download/gnupg-pkcs11-scd-${version}/gnupg-pkcs11-scd-${version}.tar.bz2";
hash = "sha256-lUeH5WLys9kpQhLDLdDYGizTesolDmaFAC0ok7uVkIc=";
};
nativeBuildInputs = [
pkg-config
];
buildInputs = [
libassuan
libgcrypt
libgpg-error
pkcs11helper
openssl
];
configureFlags = [
"--with-libgcrypt-prefix=${libgcrypt.dev}"
];
meta = {
changelog = "https://github.com/alonbl/gnupg-pkcs11-scd/blob/gnupg-pkcs11-scd-${version}/ChangeLog";
description = "Smart-card daemon to enable the use of PKCS#11 tokens with GnuPG";
mainProgram = "gnupg-pkcs11-scd";
longDescription = ''
gnupg-pkcs11 is a project to implement a BSD-licensed smart-card
daemon to enable the use of PKCS#11 tokens with GnuPG.
'';
homepage = "https://gnupg-pkcs11.sourceforge.net/";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [
matthiasbeyer
philandstuff
];
platforms = lib.platforms.unix;
};
}