nixpkgs/pkgs/development/libraries/p11-kit/default.nix

31 lines
744 B
Nix
Raw Normal View History

{ stdenv, fetchurl, libiconv, pkgconfig, libffi, libtasn1 }:
stdenv.mkDerivation rec {
2016-05-07 22:06:56 +01:00
name = "p11-kit-0.23.2";
src = fetchurl {
url = "${meta.homepage}releases/${name}.tar.gz";
2016-05-07 22:06:56 +01:00
sha256 = "1w7szm190phlkg7qx05ychlj2dbvkgkhx9gw6dx4d5rw62l6wwms";
};
outputs = [ "dev" "out" "docdev" ];
outputBin = "dev";
2015-04-20 06:43:41 +01:00
buildInputs = [ pkgconfig libffi libtasn1 libiconv ];
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; {
2016-05-07 22:06:56 +01:00
homepage = https://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;
};
}