forked from mirrors/nixpkgs
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.
This commit is contained in:
parent
d260277928
commit
c4919b614e
|
@ -1,25 +1,31 @@
|
|||
{ stdenv, fetchFromGitHub, autoreconfHook, libtool, openssl, pkgconfig }:
|
||||
{ stdenv, fetchFromGitHub, autoreconfHook, libtool, pkgconfig
|
||||
, openssl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libp11-${version}";
|
||||
version = "0.4.9";
|
||||
version = "0.4.10";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "OpenSC";
|
||||
repo = "libp11";
|
||||
rev = name;
|
||||
sha256 = "1f0ir1mnr4wxxnql8ld2aa6288fn04fai5pr0sics7kbdm1g0cki";
|
||||
sha256 = "1m4aw45bqichhx7cn78d8l1r1v0ccvwzlfj09fay2l9rfic5jgfz";
|
||||
};
|
||||
|
||||
makeFlags = [ "DESTDIR=$(out)" "PREFIX=" ];
|
||||
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;
|
||||
description = "Small layer on top of PKCS#11 API to make PKCS#11 implementations easier";
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue