mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 13:10:33 +00:00
libksba: Use multiple outputs
This commit is contained in:
parent
cc8b44b103
commit
dc8ebab12f
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue