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