nixpkgs/pkgs/development/libraries/pkcs11helper/default.nix
John Ericson 531e4b80c9 misc pkgs: Basic sed to get fix pkgconfig and autoreconfHook buildInputs
Only acts on one-line dependency lists.
2017-09-21 15:49:53 -04:00

24 lines
672 B
Nix

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