3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/p11-kit/default.nix
R. RyanTM 86a6c4218e p11-kit: 0.23.12 -> 0.23.13
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/p11-kit/versions.
2018-08-16 20:13:12 -07:00

43 lines
1,010 B
Nix

{ stdenv, fetchFromGitHub, autoreconfHook, which, pkgconfig, libiconv
, libffi, libtasn1 }:
stdenv.mkDerivation rec {
name = "p11-kit-${version}";
version = "0.23.13";
src = fetchFromGitHub {
owner = "p11-glue";
repo = "p11-kit";
rev = version;
sha256 = "1z2rbw2qbwj64i88llc1mkf0263qa0kxc2350kg25r7mghxbw1y6";
};
outputs = [ "out" "dev"];
outputBin = "dev";
nativeBuildInputs = [ autoreconfHook which pkgconfig ];
buildInputs = [ libffi libtasn1 libiconv ];
autoreconfPhase = ''
NOCONFIGURE=1 ./autogen.sh
'';
configureFlags = [
"--sysconfdir=/etc"
"--localstatedir=/var"
"--without-trust-paths"
];
installFlags = [ "exampledir=\${out}/etc/pkcs11" ];
doInstallCheck = false; # probably a bug in this derivation
enableParallelBuilding = true;
meta = with stdenv.lib; {
homepage = https://p11-glue.freedesktop.org/;
platforms = platforms.all;
maintainers = with maintainers; [ wkennington ];
license = licenses.mit;
};
}