2016-09-16 05:21:50 +02:00
|
|
|
{ stdenv, fetchFromGitHub, pkgconfig, openssl, autoreconfHook }:
|
2013-05-20 23:12:21 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2016-09-16 05:21:50 +02:00
|
|
|
name = "pkcs11-helper-${version}";
|
|
|
|
version = "1.11";
|
2016-01-18 00:04:40 +01:00
|
|
|
|
2016-09-16 05:21:50 +02:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "OpenSC";
|
|
|
|
repo = "pkcs11-helper";
|
|
|
|
rev = "${name}";
|
|
|
|
sha256 = "1bfsmy9w2qf7avvs3rsc1ycqczzzw0j2wsqkd2fj4dc1fqzigq2q";
|
2013-05-20 23:12:21 +02:00
|
|
|
};
|
|
|
|
|
2016-01-18 00:04:40 +01:00
|
|
|
buildInputs = [ pkgconfig openssl autoreconfHook ];
|
2013-05-20 23:12:21 +02:00
|
|
|
|
2015-05-27 21:56:04 +02:00
|
|
|
meta = with stdenv.lib; {
|
2013-05-20 23:12:21 +02:00
|
|
|
homepage = https://www.opensc-project.org/opensc/wiki/pkcs11-helper;
|
2016-09-16 05:21:50 +02:00
|
|
|
license = with licenses; [ bsd3 gpl2 ];
|
2013-05-20 23:12:21 +02:00
|
|
|
description = "Library that simplifies the interaction with PKCS#11 providers";
|
2016-08-02 19:50:55 +02:00
|
|
|
platforms = platforms.unix;
|
2013-05-20 23:12:21 +02:00
|
|
|
};
|
|
|
|
}
|