2016-01-17 23:04:40 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, openssl, autoreconfHook }:
|
2013-05-20 22:12:21 +01:00
|
|
|
|
|
|
|
let
|
|
|
|
rev = "5d412bad60";
|
|
|
|
in
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "pkcs11-helper-20121123-${rev}";
|
2016-01-17 23:04:40 +00:00
|
|
|
|
2013-05-20 22:12:21 +01:00
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/alonbl/pkcs11-helper/tarball/${rev}";
|
|
|
|
name = "${name}.tar.gz";
|
|
|
|
sha256 = "1mih6mha39yr5s5m18lg4854qc105asgnwmjw7f95kgmzni62kxp";
|
|
|
|
};
|
|
|
|
|
2016-01-17 23:04:40 +00:00
|
|
|
buildInputs = [ pkgconfig openssl autoreconfHook ];
|
2013-05-20 22:12:21 +01:00
|
|
|
|
2015-05-27 20:56:04 +01:00
|
|
|
meta = with stdenv.lib; {
|
2013-05-20 22:12:21 +01:00
|
|
|
homepage = https://www.opensc-project.org/opensc/wiki/pkcs11-helper;
|
2015-05-27 20:56:04 +01:00
|
|
|
license = with licenses; [ "BSD" gpl2 ];
|
2013-05-20 22:12:21 +01:00
|
|
|
description = "Library that simplifies the interaction with PKCS#11 providers";
|
|
|
|
};
|
|
|
|
}
|