2016-09-15 20:21:50 -07:00
|
|
|
{ stdenv, fetchFromGitHub, pkgconfig, openssl, autoreconfHook }:
|
2013-05-20 14:12:21 -07:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2016-09-15 20:21:50 -07:00
|
|
|
name = "pkcs11-helper-${version}";
|
2017-02-02 04:28:51 -08:00
|
|
|
version = "1.21";
|
2016-01-17 15:04:40 -08:00
|
|
|
|
2016-09-15 20:21:50 -07:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "OpenSC";
|
|
|
|
repo = "pkcs11-helper";
|
|
|
|
rev = "${name}";
|
2017-02-02 04:28:51 -08:00
|
|
|
sha256 = "17a2cssycl7fh44xikmhszigx57vvn0h2sjsnmsy3772kfj796b1";
|
2013-05-20 14:12:21 -07:00
|
|
|
};
|
|
|
|
|
2017-09-05 14:26:13 -07:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
|
|
|
buildInputs = [ openssl ];
|
2013-05-20 14:12:21 -07:00
|
|
|
|
2015-05-27 12:56:04 -07:00
|
|
|
meta = with stdenv.lib; {
|
2013-05-20 14:12:21 -07:00
|
|
|
homepage = https://www.opensc-project.org/opensc/wiki/pkcs11-helper;
|
2016-09-15 20:21:50 -07:00
|
|
|
license = with licenses; [ bsd3 gpl2 ];
|
2013-05-20 14:12:21 -07:00
|
|
|
description = "Library that simplifies the interaction with PKCS#11 providers";
|
2016-08-02 10:50:55 -07:00
|
|
|
platforms = platforms.unix;
|
2013-05-20 14:12:21 -07:00
|
|
|
};
|
|
|
|
}
|