nixpkgs/pkgs/development/libraries/p11-kit/default.nix
R. RyanTM cf152c2791 p11-kit: 0.23.10 -> 0.23.11 (#41271)
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.

These checks were done:

- built on NixOS

- 0 of 0 passed binary check by having a zero exit code.
- 0 of 0 passed binary check by having the new version present in output.
- found 0.23.11 with grep in /nix/store/9whclrmrld36nawkkdshhj636jlh1cdm-p11-kit-0.23.11
- directory tree listing: https://gist.github.com/be74c2d2f6d0b1ee2fb5e2b0e30fb945
- du listing: https://gist.github.com/470d2f00cd777773ea45ea6ea280a07a
2018-06-01 22:04:34 +02:00

42 lines
977 B
Nix

{ stdenv, fetchFromGitHub, autoreconfHook, which, pkgconfig, libiconv
, libffi, libtasn1 }:
stdenv.mkDerivation rec {
name = "p11-kit-${version}";
version = "0.23.11";
src = fetchFromGitHub {
owner = "p11-glue";
repo = "p11-kit";
rev = version;
sha256 = "08jfxml3w8gn85qz19ps1z8yb66k921z0cgzizqn1ipl9pp5pxyd";
};
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
meta = with stdenv.lib; {
homepage = https://p11-glue.freedesktop.org/;
platforms = platforms.all;
maintainers = with maintainers; [ wkennington ];
license = licenses.mit;
};
}