1 { buildPackages, lib, stdenv, fetchurl, gettext, libgpg-error }:
3 stdenv.mkDerivation rec {
8 url = "mirror://gnupg/libksba/libksba-${version}.tar.bz2";
9 sha256 = "fce01ccac59812bddadffacff017dac2e4762bdb6ebc6ffe06f6ed4f6192c971";
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;