nixpkgs/pkgs/development/libraries/pkcs11helper/default.nix

26 lines
689 B
Nix
Raw Normal View History

2016-09-16 04:21:50 +01:00
{ stdenv, fetchFromGitHub, pkgconfig, openssl, autoreconfHook }:
stdenv.mkDerivation rec {
2016-09-16 04:21:50 +01:00
name = "pkcs11-helper-${version}";
version = "1.22";
2016-09-16 04:21:50 +01:00
src = fetchFromGitHub {
owner = "OpenSC";
repo = "pkcs11-helper";
rev = "${name}";
sha256 = "01v3zv6sr5phqhr2f21fl2rmcnmkp9518dkq82g1v2y9ysjksg7q";
};
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;
};
}