summary refs log tree commit diff
path: root/pkgs/development
diff options
context:
space:
mode:
authorRenaud <c0bw3b@users.noreply.github.com>2017-03-03 19:00:59 +0100
committerJörg Thalheim <joerg@thalheim.io>2017-03-06 08:41:47 +0100
commitf39e718cab2d6c6c2e60688a0f16777a7a148cd9 (patch)
tree78f67c4a7e425f9ddd14fa0662d13e61d9da88e7 /pkgs/development
parent99e74e95096a1afd19a23c5561a1177a4902e44b (diff)
downloadnixpkgs-f39e718cab2d6c6c2e60688a0f16777a7a148cd9.tar
nixpkgs-f39e718cab2d6c6c2e60688a0f16777a7a148cd9.tar.gz
nixpkgs-f39e718cab2d6c6c2e60688a0f16777a7a148cd9.tar.bz2
nixpkgs-f39e718cab2d6c6c2e60688a0f16777a7a148cd9.tar.lz
nixpkgs-f39e718cab2d6c6c2e60688a0f16777a7a148cd9.tar.xz
nixpkgs-f39e718cab2d6c6c2e60688a0f16777a7a148cd9.tar.zst
nixpkgs-f39e718cab2d6c6c2e60688a0f16777a7a148cd9.zip
uriparser: 0.8.2 -> 0.8.4
Fixed the Makefile for the doc : there is no .map files to install in
this release since dot outputs images in PNG and SVG

fixes #23456
Diffstat (limited to 'pkgs/development')
-rw-r--r--pkgs/development/libraries/uriparser/default.nix26
1 files changed, 21 insertions, 5 deletions
diff --git a/pkgs/development/libraries/uriparser/default.nix b/pkgs/development/libraries/uriparser/default.nix
index 9089889f4dd..6b5c48a6105 100644
--- a/pkgs/development/libraries/uriparser/default.nix
+++ b/pkgs/development/libraries/uriparser/default.nix
@@ -1,19 +1,35 @@
 { stdenv, fetchurl, cpptest, pkgconfig, doxygen, graphviz }:
 
 stdenv.mkDerivation rec {
-  name = "uriparser-0.8.2";
+  name = "uriparser-${version}";
+  version = "0.8.4";
 
   src = fetchurl {
-    url = "mirror://sourceforge/project/uriparser/Sources/0.8.2/${name}.tar.bz2";
-    sha256 = "13sh7slys3y5gfscc40g2r3hkjjywjvxlcqr77ifjrazc6q6cvkd";
+    url = "mirror://sourceforge/project/uriparser/Sources/${version}/${name}.tar.bz2";
+    sha256 = "08vvcmg4mcpi2gyrq043c9mfcy3mbrw6lhp86698hx392fjcsz6f";
   };
 
-  buildInputs = [ cpptest pkgconfig doxygen graphviz ];
+
+  nativeBuildInputs = [ pkgconfig ];
+  buildInputs = [ cpptest doxygen graphviz ];
+
+  # There is actually no .map files to install in doc for v0.8.4
+  # (dot outputs only SVG and PNG in this release)
+  preBuild = ''
+    substituteInPlace doc/Makefile.am --replace " html/*.map" ""
+    substituteInPlace doc/Makefile.in --replace " html/*.map" ""
+  '';
+
 
   meta = with stdenv.lib; {
     homepage = http://uriparser.sourceforge.net/;
     description = "Strictly RFC 3986 compliant URI parsing library";
+    longDescription = ''
+      uriparser is a strictly RFC 3986 compliant URI parsing and handling library written in C.
+      API documentation is available on uriparser website.
+    '';
+    license = licenses.bsd3;
+    platforms = platforms.linux;
     maintainers = with maintainers; [ bosu ];
-    license = stdenv.lib.licenses.bsd3;
   };
 }