1 { lib, stdenv, fetchFromGitHub, pkg-config, openssl, autoreconfHook }:
3 stdenv.mkDerivation rec {
4 pname = "pkcs11-helper";
7 src = fetchFromGitHub {
9 repo = "pkcs11-helper";
10 rev = "${pname}-${version}";
11 sha256 = "sha256-HPaPmsCJ81NaS7mgRGbR7KFG6AM3s6HXdWKdfREhcLc=";
14 nativeBuildInputs = [ autoreconfHook pkg-config ];
15 buildInputs = [ openssl ];
17 enableParallelBuilding = true;
20 homepage = "https://github.com/OpenSC/pkcs11-helper";
21 license = with licenses; [ bsd3 gpl2Only ];
22 description = "Library that simplifies the interaction with PKCS#11 providers";
23 platforms = platforms.unix;