3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/p11-kit/default.nix
2015-04-22 10:49:22 +02:00

28 lines
683 B
Nix

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