diff options
author | Peder Bergebakken Sundt <pbsds@hotmail.com> | 2024-01-23 02:08:41 +0100 |
---|---|---|
committer | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2024-01-26 11:31:39 +0000 |
commit | 5b407fd459b9d81c5612dda54f91652418d5f3d5 (patch) | |
tree | 5d417f7f4196137402b99cbbc251cf3b749de6b2 /pkgs/applications/graphics | |
parent | 9ce3c8c33d86dcd325a459a702787c05a4ef3d47 (diff) |
f3d: build manpage
(cherry picked from commit e5970be7e321f05c34dacf62353c26e27f93955d)
Diffstat (limited to 'pkgs/applications/graphics')
-rw-r--r-- | pkgs/applications/graphics/f3d/default.nix | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/pkgs/applications/graphics/f3d/default.nix b/pkgs/applications/graphics/f3d/default.nix index 7cfd8030189ed..38b829659ba8c 100644 --- a/pkgs/applications/graphics/f3d/default.nix +++ b/pkgs/applications/graphics/f3d/default.nix @@ -2,6 +2,8 @@ , stdenv , fetchFromGitHub , cmake +, help2man +, gzip , vtk_9 , autoPatchelfHook , libX11 @@ -14,6 +16,8 @@ stdenv.mkDerivation rec { pname = "f3d"; version = "2.2.1"; + outputs = [ "out" "man" ]; + src = fetchFromGitHub { owner = "f3d-app"; repo = "f3d"; @@ -23,18 +27,22 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ cmake + help2man + gzip # https://github.com/f3d-app/f3d/pull/1217 autoPatchelfHook ]; buildInputs = [ vtk_9 ] ++ lib.optionals stdenv.isDarwin [ Cocoa OpenGL ]; - # conflict between VTK and Nixpkgs; - # see https://github.com/NixOS/nixpkgs/issues/89167 cmakeFlags = [ + # conflict between VTK and Nixpkgs; + # see https://github.com/NixOS/nixpkgs/issues/89167 "-DCMAKE_INSTALL_LIBDIR=lib" "-DCMAKE_INSTALL_INCLUDEDIR=include" "-DCMAKE_INSTALL_BINDIR=bin" + + "-DF3D_LINUX_GENERATE_MAN=ON" ]; meta = with lib; { |