3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/pkcs11helper/default.nix

26 lines
693 B
Nix
Raw Normal View History

2016-09-16 04:21:50 +01:00
{ stdenv, fetchFromGitHub, pkgconfig, openssl, autoreconfHook }:
stdenv.mkDerivation rec {
pname = "pkcs11-helper";
2020-01-27 17:39:35 +00:00
version = "1.26";
2016-09-16 04:21:50 +01:00
src = fetchFromGitHub {
owner = "OpenSC";
repo = "pkcs11-helper";
rev = "${pname}-${version}";
2020-01-27 17:39:35 +00:00
sha256 = "15n3vy1v5gian0gh5y7vq5a6n3fngfwb41sbvrlwbjw0yh23sb1b";
};
nativeBuildInputs = [ autoreconfHook pkgconfig ];
buildInputs = [ openssl ];
enableParallelBuilding = true;
meta = with stdenv.lib; {
homepage = "https://github.com/OpenSC/pkcs11-helper";
2016-09-16 04:21:50 +01:00
license = with licenses; [ bsd3 gpl2 ];
description = "Library that simplifies the interaction with PKCS#11 providers";
platforms = platforms.unix;
};
}