nixpkgs/pkgs/development/libraries/p11-kit/default.nix
Vladimír Čunát 787f322540 $docdev fixups: mostly to avoid empty output
... after auto-removing some kinds of files by default.
In some cases I let them be removed and in others I let them be put into
$docdev. That was more due to general indecisiveness on this question
than any reasons in the particular cases.
2015-10-28 18:58:06 +01:00

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