libksba: Use multiple outputs

(cherry picked from commit dc8ebab12f)
This commit is contained in:
Eelco Dolstra
2016-09-19 14:54:20 +02:00
committed by Eelco Dolstra
parent 396c3ff34b
commit 2a7cbefdb1

View File

@@ -8,8 +8,16 @@ stdenv.mkDerivation rec {
sha256 = "0kxdb02z41cwm1xbwfwj9nbc0dzjhwyq8c475mlhhmpcxcy8ihpn";
};
outputs = [ "out" "dev" "doc" ];
propagatedBuildInputs = [ libgpgerror ];
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";