2016-09-15 20:21:50 -07:00
|
|
|
{ stdenv, fetchFromGitHub, pkgconfig, openssl, autoreconfHook }:
|
2013-05-20 14:12:21 -07:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 05:41:18 -07:00
|
|
|
pname = "pkcs11-helper";
|
2020-11-29 00:23:33 -08:00
|
|
|
version = "1.27";
|
2016-01-17 15:04:40 -08:00
|
|
|
|
2016-09-15 20:21:50 -07:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "OpenSC";
|
|
|
|
repo = "pkcs11-helper";
|
2019-08-15 05:41:18 -07:00
|
|
|
rev = "${pname}-${version}";
|
2020-11-29 00:23:33 -08:00
|
|
|
sha256 = "1idrqip59bqzcgddpnk2inin5n5yn4y0dmcyaggfpdishraiqgd5";
|
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
|
|
|
|
2017-11-12 13:41:42 -08:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2015-05-27 12:56:04 -07:00
|
|
|
meta = with stdenv.lib; {
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "https://github.com/OpenSC/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
|
|
|
};
|
|
|
|
}
|