summary refs log tree commit diff
path: root/pkgs/development/libraries/exiv2
diff options
context:
space:
mode:
authorworldofpeace <worldofpeace@protonmail.ch>2019-06-27 03:17:57 -0400
committerworldofpeace <worldofpeace@protonmail.ch>2019-06-27 03:17:57 -0400
commit91a3b41967e1ef368d123303342d3c42d857a38f (patch)
tree1a05449c0a162e06593d403b8fe53e89b68c94ea /pkgs/development/libraries/exiv2
parentcb77f7e227dd0953beceeebbc8f4842c51e389be (diff)
downloadnixpkgs-91a3b41967e1ef368d123303342d3c42d857a38f.tar
nixpkgs-91a3b41967e1ef368d123303342d3c42d857a38f.tar.gz
nixpkgs-91a3b41967e1ef368d123303342d3c42d857a38f.tar.bz2
nixpkgs-91a3b41967e1ef368d123303342d3c42d857a38f.tar.lz
nixpkgs-91a3b41967e1ef368d123303342d3c42d857a38f.tar.xz
nixpkgs-91a3b41967e1ef368d123303342d3c42d857a38f.tar.zst
nixpkgs-91a3b41967e1ef368d123303342d3c42d857a38f.zip
exiv2: enable docs and po
Also multiout man
Diffstat (limited to 'pkgs/development/libraries/exiv2')
-rw-r--r--pkgs/development/libraries/exiv2/default.nix17
1 files changed, 16 insertions, 1 deletions
diff --git a/pkgs/development/libraries/exiv2/default.nix b/pkgs/development/libraries/exiv2/default.nix
index c37bacefcab..9b05165e1b2 100644
--- a/pkgs/development/libraries/exiv2/default.nix
+++ b/pkgs/development/libraries/exiv2/default.nix
@@ -7,6 +7,9 @@
 , libxml2
 , python3
 , gettext
+, doxygen
+, graphviz
+, libxslt
 }:
 
 stdenv.mkDerivation rec {
@@ -25,11 +28,19 @@ stdenv.mkDerivation rec {
     ./fix-cmake.patch
   ];
 
-  outputs = [ "out" "dev" ];
+  cmakeFlags = [
+    "-DEXIV2_BUILD_PO=ON"
+    "-DEXIV2_BUILD_DOC=ON"
+  ];
+
+  outputs = [ "out" "dev" "doc" "man" ];
 
   nativeBuildInputs = [
     cmake
+    doxygen
     gettext
+    graphviz
+    libxslt
   ];
 
   propagatedBuildInputs = [
@@ -43,6 +54,10 @@ stdenv.mkDerivation rec {
     which
   ];
 
+  buildFlags = [
+    "doc"
+  ];
+
   doCheck = stdenv.isLinux;
 
   # Test setup found by inspecting ${src}/.travis/run.sh; problems without cmake.