depot/third_party/nixpkgs/pkgs/development/libraries/pkcs11helper/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

25 lines
693 B
Nix

{ stdenv, fetchFromGitHub, pkgconfig, openssl, autoreconfHook }:
stdenv.mkDerivation rec {
pname = "pkcs11-helper";
version = "1.26";
src = fetchFromGitHub {
owner = "OpenSC";
repo = "pkcs11-helper";
rev = "${pname}-${version}";
sha256 = "15n3vy1v5gian0gh5y7vq5a6n3fngfwb41sbvrlwbjw0yh23sb1b";
};
nativeBuildInputs = [ autoreconfHook pkgconfig ];
buildInputs = [ openssl ];
enableParallelBuilding = true;
meta = with stdenv.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;
};
}