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

24 lines
672 B
Nix
Raw Normal View History

2016-09-16 03:21:50 +00:00
{ stdenv, fetchFromGitHub, pkgconfig, openssl, autoreconfHook }:
stdenv.mkDerivation rec {
2016-09-16 03:21:50 +00:00
name = "pkcs11-helper-${version}";
2017-02-02 12:28:51 +00:00
version = "1.21";
2016-09-16 03:21:50 +00:00
src = fetchFromGitHub {
owner = "OpenSC";
repo = "pkcs11-helper";
rev = "${name}";
2017-02-02 12:28:51 +00:00
sha256 = "17a2cssycl7fh44xikmhszigx57vvn0h2sjsnmsy3772kfj796b1";
};
nativeBuildInputs = [ autoreconfHook pkgconfig ];
buildInputs = [ openssl ];
meta = with stdenv.lib; {
homepage = https://www.opensc-project.org/opensc/wiki/pkcs11-helper;
2016-09-16 03:21:50 +00:00
license = with licenses; [ bsd3 gpl2 ];
description = "Library that simplifies the interaction with PKCS#11 providers";
platforms = platforms.unix;
};
}