mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 13:43:22 +00:00
46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
32 lines
775 B
Nix
32 lines
775 B
Nix
{ stdenv, fetchFromGitHub, autoreconfHook, libtool, pkgconfig
|
|
, openssl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "libp11";
|
|
version = "0.4.10";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "OpenSC";
|
|
repo = "libp11";
|
|
rev = "${pname}-${version}";
|
|
sha256 = "1m4aw45bqichhx7cn78d8l1r1v0ccvwzlfj09fay2l9rfic5jgfz";
|
|
};
|
|
|
|
configureFlags = [
|
|
"--with-enginesdir=${placeholder "out"}/lib/engines"
|
|
];
|
|
|
|
nativeBuildInputs = [ autoreconfHook pkgconfig libtool ];
|
|
|
|
buildInputs = [ openssl ];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Small layer on top of PKCS#11 API to make PKCS#11 implementations easier";
|
|
homepage = https://github.com/OpenSC/libp11;
|
|
license = licenses.lgpl21Plus;
|
|
platforms = platforms.all;
|
|
};
|
|
}
|