mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 10:31:36 +00:00
787f322540
... 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.
31 lines
743 B
Nix
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;
|
|
};
|
|
}
|