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