8ec485f514
Close #192215 Noteworthy changes in version 1.6.2 (2022-10-07) [C22/A14/R2] ------------------------------------------------ * Fix integer overflow in the CRL parser. [rK4b7d9cd4a0] Release-info: https://dev.gnupg.org/T6230 Noteworthy changes in version 1.6.1 (2022-09-16) [C22/A14/R1] ------------------------------------------------ * Allow an OCSP server not to return the sent nonce. [rK24992a4a7a] Release-info: https://dev.gnupg.org/T6210
34 lines
886 B
Nix
34 lines
886 B
Nix
{ buildPackages, lib, stdenv, fetchurl, gettext, libgpg-error }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "libksba";
|
|
version = "1.6.2";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnupg/libksba/libksba-${version}.tar.bz2";
|
|
sha256 = "fce01ccac59812bddadffacff017dac2e4762bdb6ebc6ffe06f6ed4f6192c971";
|
|
};
|
|
|
|
outputs = [ "out" "dev" "info" ];
|
|
|
|
buildInputs = [ gettext ];
|
|
propagatedBuildInputs = [ libgpg-error ];
|
|
depsBuildBuild = [ buildPackages.stdenv.cc ];
|
|
|
|
configureFlags = [ "--with-libgpg-error-prefix=${libgpg-error.dev}" ];
|
|
|
|
postInstall = ''
|
|
mkdir -p $dev/bin
|
|
mv $out/bin/*-config $dev/bin/
|
|
rmdir --ignore-fail-on-non-empty $out/bin
|
|
'';
|
|
|
|
meta = with lib; {
|
|
homepage = "https://www.gnupg.org";
|
|
description = "CMS and X.509 access library";
|
|
platforms = platforms.all;
|
|
maintainers = with maintainers; [ ];
|
|
license = licenses.lgpl3;
|
|
};
|
|
}
|