1 { buildPackages, lib, stdenv, fetchurl, gettext, libgpg-error }:
3 stdenv.mkDerivation rec {
8 url = "mirror://gnupg/libksba/libksba-${version}.tar.bz2";
9 hash = "sha256-u7Q/AyuRZNhseB/+QiE6g79PL+6RRV7fpGVFIbiwO2s=";
12 outputs = [ "out" "dev" "info" ];
14 buildInputs = [ gettext ];
15 propagatedBuildInputs = [ libgpg-error ];
16 depsBuildBuild = [ buildPackages.stdenv.cc ];
18 configureFlags = [ "--with-libgpg-error-prefix=${libgpg-error.dev}" ];
22 mv $out/bin/*-config $dev/bin/
23 rmdir --ignore-fail-on-non-empty $out/bin
27 homepage = "https://www.gnupg.org";
28 description = "CMS and X.509 access library";
29 platforms = platforms.all;
30 maintainers = with maintainers; [ ];
31 license = licenses.lgpl3;