1 { lib, stdenv, fetchurl, libgpg-error, libassuan, libgcrypt, pkcs11helper,
4 stdenv.mkDerivation rec {
5 pname = "gnupg-pkcs11-scd";
9 url = "https://github.com/alonbl/${pname}/releases/download/${pname}-${version}/${pname}-${version}.tar.bz2";
10 sha256 = "sha256-Kb8p53gPkhxtOhH2COKwSDwbtRDFr6hHMJAkndV8Ukk=";
13 nativeBuildInputs = [ pkg-config ];
14 buildInputs = [ pkcs11helper openssl ];
17 "--with-libgpg-error-prefix=${libgpg-error.dev}"
18 "--with-libassuan-prefix=${libassuan.dev}"
19 "--with-libgcrypt-prefix=${libgcrypt.dev}"
23 description = "Smart-card daemon to enable the use of PKCS#11 tokens with GnuPG";
24 mainProgram = "gnupg-pkcs11-scd";
26 gnupg-pkcs11 is a project to implement a BSD-licensed smart-card
27 daemon to enable the use of PKCS#11 tokens with GnuPG.
29 homepage = "https://gnupg-pkcs11.sourceforge.net/";
30 license = licenses.bsd3;
31 maintainers = with maintainers; [ matthiasbeyer philandstuff ];
32 platforms = platforms.unix;