2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, pkg-config, openssl, autoreconfHook }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "pkcs11-helper";
|
2024-01-02 11:29:13 +00:00
|
|
|
version = "1.30.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "OpenSC";
|
|
|
|
repo = "pkcs11-helper";
|
|
|
|
rev = "${pname}-${version}";
|
2024-01-02 11:29:13 +00:00
|
|
|
hash = "sha256-FP3y/YHsPPqey4QfxIiC4QjruuK1K2Bg+2QL2gXDT+k=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [ openssl ];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/OpenSC/pkcs11-helper";
|
2022-02-20 05:27:41 +00:00
|
|
|
license = with licenses; [ bsd3 gpl2Only ];
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Library that simplifies the interaction with PKCS#11 providers";
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|