nixpkgs/pkgs/development/libraries/p11-kit/default.nix
Vladimír Čunát 6acaeb3726 p11-kit: split "dev" and "doc" outputs
Referrers all seem so well behaved again.
2015-10-13 20:18:53 +02:00

31 lines
755 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";
};
outputs = [ "dev" "out" "doc" ]; # only dev-doc
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 = http://p11-glue.freedesktop.org/;
platforms = platforms.all;
maintainers = with maintainers; [ urkud wkennington ];
license = licenses.mit;
};
}