From c8a92b6001c98fd71e0e5da348e5f302e62068b3 Mon Sep 17 00:00:00 2001 From: nikstur Date: Wed, 4 Sep 2024 16:02:46 +0200 Subject: [PATCH] botan: split into a separate bin, doc, man output --- pkgs/development/libraries/botan/default.nix | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/pkgs/development/libraries/botan/default.nix b/pkgs/development/libraries/botan/default.nix index 8be711df6a27..81c38c2d982b 100644 --- a/pkgs/development/libraries/botan/default.nix +++ b/pkgs/development/libraries/botan/default.nix @@ -3,6 +3,7 @@ stdenv, fetchurl, python3, + docutils, bzip2, zlib, darwin, @@ -25,8 +26,11 @@ let strictDeps = true; outputs = [ + "bin" "out" "dev" + "doc" + "man" ]; src = fetchurl { @@ -36,7 +40,11 @@ let inherit patches; - nativeBuildInputs = [ python3 ]; + nativeBuildInputs = [ + python3 + docutils + ]; + buildInputs = [ bzip2 @@ -59,10 +67,14 @@ let botanConfigureFlags = [ "--prefix=${placeholder "out"}" + "--bindir=${placeholder "bin"}/bin" + "--docdir=${placeholder "doc"}/share/doc" + "--mandir=${placeholder "man"}/share/man" "--no-install-python-module" "--build-targets=${lib.concatStringsSep "," finalAttrs.buildTargets}" "--with-bzip2" "--with-zlib" + "--with-rst2man" ] ++ lib.optionals stdenv.cc.isClang [ "--cc=clang"