2016-09-16 03:21:50 +00:00
|
|
|
{ stdenv, fetchFromGitHub, pkgconfig, openssl, autoreconfHook }:
|
2013-05-20 21:12:21 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2016-09-16 03:21:50 +00:00
|
|
|
name = "pkcs11-helper-${version}";
|
2018-08-24 06:06:24 +00:00
|
|
|
version = "1.25.1";
|
2016-01-17 23:04:40 +00:00
|
|
|
|
2016-09-16 03:21:50 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "OpenSC";
|
|
|
|
repo = "pkcs11-helper";
|
|
|
|
rev = "${name}";
|
2018-08-24 06:06:24 +00:00
|
|
|
sha256 = "1nvj6kdbps860kw64m2rz3v2slyn7jkagfdmskrl6966n99iy2ns";
|
2013-05-20 21:12:21 +00:00
|
|
|
};
|
|
|
|
|
2017-09-05 21:26:13 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
|
|
|
buildInputs = [ openssl ];
|
2013-05-20 21:12:21 +00:00
|
|
|
|
2017-11-12 21:41:42 +00:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2015-05-27 19:56:04 +00:00
|
|
|
meta = with stdenv.lib; {
|
2017-11-12 21:41:42 +00:00
|
|
|
homepage = https://github.com/OpenSC/pkcs11-helper;
|
2016-09-16 03:21:50 +00:00
|
|
|
license = with licenses; [ bsd3 gpl2 ];
|
2013-05-20 21:12:21 +00:00
|
|
|
description = "Library that simplifies the interaction with PKCS#11 providers";
|
2016-08-02 17:50:55 +00:00
|
|
|
platforms = platforms.unix;
|
2013-05-20 21:12:21 +00:00
|
|
|
};
|
|
|
|
}
|