3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/libp11/default.nix
Peter Hoeg c4919b614e libp11: 0.4.9 -> 0.4.10
The build was broken as the output was nested inside /nix/store so fix that as
well. We didn't know as no other derivation was using it.
2019-04-24 11:53:09 +08:00

32 lines
768 B
Nix

{ stdenv, fetchFromGitHub, autoreconfHook, libtool, pkgconfig
, openssl }:
stdenv.mkDerivation rec {
name = "libp11-${version}";
version = "0.4.10";
src = fetchFromGitHub {
owner = "OpenSC";
repo = "libp11";
rev = name;
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;
};
}