2019-10-16 23:03:58 +02:00
|
|
|
{ stdenv, fetchurl, libgpgerror, libassuan, libgcrypt, pkcs11helper,
|
|
|
|
pkgconfig, openssl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "gnupg-pkcs11-scd";
|
|
|
|
version = "0.9.2";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/alonbl/${pname}/releases/download/${pname}-${version}/${pname}-${version}.tar.bz2";
|
2020-06-01 10:59:41 +02:00
|
|
|
sha256 = "1mfh9zjbahjd788rq1mzx009pd7p1sq62sbz586rd7szif7pkpgx";
|
2019-10-16 23:03:58 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ pkcs11helper pkgconfig openssl ];
|
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
"--with-libgpg-error-prefix=${libgpgerror.dev}"
|
|
|
|
"--with-libassuan-prefix=${libassuan.dev}"
|
|
|
|
"--with-libgcrypt-prefix=${libgcrypt.dev}"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A smart-card daemon to enable the use of PKCS#11 tokens with GnuPG";
|
|
|
|
longDescription = ''
|
|
|
|
gnupg-pkcs11 is a project to implement a BSD-licensed smart-card
|
|
|
|
daemon to enable the use of PKCS#11 tokens with GnuPG.
|
|
|
|
'';
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "http://gnupg-pkcs11.sourceforge.net/";
|
2019-10-16 23:03:58 +02:00
|
|
|
license = licenses.bsd3;
|
2020-10-28 14:32:52 +01:00
|
|
|
maintainers = with maintainers; [ matthiasbeyer philandstuff ];
|
2019-10-16 23:03:58 +02:00
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|