1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 05:31:22 +00:00

Merge pull request #71266 from philandstuff/add-gnupg-pkcs11-scd

gnupg-pkcs11-scd: init at 0.9.2
This commit is contained in:
Robin Gloster 2019-11-04 22:14:38 +01:00 committed by GitHub
commit fa7d7eb95b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 35 additions and 0 deletions

View file

@ -0,0 +1,33 @@
{ 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";
sha256 = "sha256:1mfh9zjbahjd788rq1mzx009pd7p1sq62sbz586rd7szif7pkpgx";
};
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.
'';
homepage = http://gnupg-pkcs11.sourceforge.net/;
license = licenses.bsd3;
maintainers = with maintainers; [ lschuermann philandstuff ];
platforms = platforms.unix;
};
}

View file

@ -3558,6 +3558,8 @@ in
};
gnupg = gnupg22;
gnupg-pkcs11-scd = callPackage ../tools/security/gnupg-pkcs11-scd { };
gnuplot = libsForQt5.callPackage ../tools/graphics/gnuplot { };
gnuplot_qt = gnuplot.override { withQt = true; };