2014-11-26 23:16:50 +00:00
|
|
|
{ stdenv, fetchurl, libiconv, pkgconfig, libffi, libtasn1 }:
|
2011-11-07 16:48:14 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2015-04-20 06:43:41 +01:00
|
|
|
name = "p11-kit-0.23.1";
|
2011-11-07 16:48:14 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "${meta.homepage}releases/${name}.tar.gz";
|
2015-04-20 06:43:41 +01:00
|
|
|
sha256 = "1i3a1wdpagm0p3y1bwaz5x5rjhcpqbcrnhkcp10p259vkxk72wz5";
|
2011-11-07 16:48:14 +00:00
|
|
|
};
|
|
|
|
|
2015-10-28 17:56:00 +00:00
|
|
|
outputs = [ "dev" "out" "docdev" ];
|
2015-10-07 21:36:11 +01:00
|
|
|
outputBin = "dev";
|
|
|
|
|
2015-04-20 06:43:41 +01:00
|
|
|
buildInputs = [ pkgconfig libffi libtasn1 libiconv ];
|
2011-11-07 16:48:14 +00:00
|
|
|
|
2015-04-20 06:43:41 +01:00
|
|
|
configureFlags = [
|
|
|
|
"--sysconfdir=/etc"
|
|
|
|
"--localstatedir=/var"
|
|
|
|
"--without-trust-paths"
|
|
|
|
];
|
2014-01-10 00:17:54 +00:00
|
|
|
|
2015-04-20 06:43:41 +01:00
|
|
|
installFlags = [ "exampledir=\${out}/etc/pkcs11" ];
|
2014-01-10 00:17:54 +00:00
|
|
|
|
2015-04-20 06:43:41 +01:00
|
|
|
meta = with stdenv.lib; {
|
2011-11-07 16:48:14 +00:00
|
|
|
homepage = http://p11-glue.freedesktop.org/;
|
2015-04-20 06:43:41 +01:00
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = with maintainers; [ urkud wkennington ];
|
2015-04-22 09:49:22 +01:00
|
|
|
license = licenses.mit;
|
2011-11-07 16:48:14 +00:00
|
|
|
};
|
|
|
|
}
|