mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-27 16:15:05 +00:00
b5c1deca8a
He prefers to contribute to his own nixpkgs fork triton. Since he is still marked as maintainer in many packages this leaves the wrong impression he still maintains those.
42 lines
957 B
Nix
42 lines
957 B
Nix
{ stdenv, fetchFromGitHub, autoreconfHook, which, pkgconfig, libiconv
|
|
, libffi, libtasn1 }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "p11-kit-${version}";
|
|
version = "0.23.14";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "p11-glue";
|
|
repo = "p11-kit";
|
|
rev = version;
|
|
sha256 = "0zmrw1ciybhnxjlsfb07wnf11ak5vrmy8y8fnz3mwm8v3w8dzlvw";
|
|
};
|
|
|
|
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;
|
|
license = licenses.mit;
|
|
};
|
|
}
|