diff options
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/pkcs11helper/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/libraries/pkcs11helper/default.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/libraries/pkcs11helper/default.nix b/nixpkgs/pkgs/development/libraries/pkcs11helper/default.nix new file mode 100644 index 000000000000..4148ca4fc47d --- /dev/null +++ b/nixpkgs/pkgs/development/libraries/pkcs11helper/default.nix @@ -0,0 +1,25 @@ +{ lib, stdenv, fetchFromGitHub, pkg-config, openssl, autoreconfHook }: + +stdenv.mkDerivation rec { + pname = "pkcs11-helper"; + version = "1.27"; + + src = fetchFromGitHub { + owner = "OpenSC"; + repo = "pkcs11-helper"; + rev = "${pname}-${version}"; + sha256 = "1idrqip59bqzcgddpnk2inin5n5yn4y0dmcyaggfpdishraiqgd5"; + }; + + nativeBuildInputs = [ autoreconfHook pkg-config ]; + buildInputs = [ openssl ]; + + enableParallelBuilding = true; + + meta = with lib; { + homepage = "https://github.com/OpenSC/pkcs11-helper"; + license = with licenses; [ bsd3 gpl2 ]; + description = "Library that simplifies the interaction with PKCS#11 providers"; + platforms = platforms.unix; + }; +} |