3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/p11-kit/default.nix
2016-05-07 23:06:56 +02:00

31 lines
744 B
Nix

{ stdenv, fetchurl, libiconv, pkgconfig, libffi, libtasn1 }:
stdenv.mkDerivation rec {
name = "p11-kit-0.23.2";
src = fetchurl {
url = "${meta.homepage}releases/${name}.tar.gz";
sha256 = "1w7szm190phlkg7qx05ychlj2dbvkgkhx9gw6dx4d5rw62l6wwms";
};
outputs = [ "dev" "out" "docdev" ];
outputBin = "dev";
buildInputs = [ pkgconfig libffi libtasn1 libiconv ];
configureFlags = [
"--sysconfdir=/etc"
"--localstatedir=/var"
"--without-trust-paths"
];
installFlags = [ "exampledir=\${out}/etc/pkcs11" ];
meta = with stdenv.lib; {
homepage = https://p11-glue.freedesktop.org/;
platforms = platforms.all;
maintainers = with maintainers; [ urkud wkennington ];
license = licenses.mit;
};
}