blob: d627bf81cba2de9c610eb4703dcebe507450ed76 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
{ buildPackages, stdenv, fetchurl, gettext, libgpgerror }:
stdenv.mkDerivation rec {
name = "libksba-1.4.0";
src = fetchurl {
url = "mirror://gnupg/libksba/${name}.tar.bz2";
sha256 = "1dj1razn35srkgadx3i30yr0q037cr0dn54m6a54vxgh3zlsirmz";
};
outputs = [ "out" "dev" "info" ];
buildInputs = [ gettext ];
propagatedBuildInputs = [ libgpgerror ];
depsBuildBuild = [ buildPackages.stdenv.cc ];
configureFlags = [ "--with-libgpg-error-prefix=${libgpgerror.dev}" ];
postInstall = ''
mkdir -p $dev/bin
mv $out/bin/*-config $dev/bin/
rmdir --ignore-fail-on-non-empty $out/bin
'';
meta = with stdenv.lib; {
homepage = "https://www.gnupg.org";
description = "CMS and X.509 access library";
platforms = platforms.all;
license = licenses.lgpl3;
};
}
|