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