summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorVincent Laporte <Vincent.Laporte@gmail.com>2014-11-08 07:20:28 +0000
committerVincent Laporte <Vincent.Laporte@gmail.com>2014-11-08 07:26:03 +0000
commitf895d68c90e0bf60c28389f00e60aa69b4cc2465 (patch)
treeedf029d5488e838c26723c2eb49c96f8723ba7c6 /pkgs
parent2f38372f733ce5997647b1335d1409b64e301317 (diff)
downloadnixlib-f895d68c90e0bf60c28389f00e60aa69b4cc2465.tar
nixlib-f895d68c90e0bf60c28389f00e60aa69b4cc2465.tar.gz
nixlib-f895d68c90e0bf60c28389f00e60aa69b4cc2465.tar.bz2
nixlib-f895d68c90e0bf60c28389f00e60aa69b4cc2465.tar.lz
nixlib-f895d68c90e0bf60c28389f00e60aa69b4cc2465.tar.xz
nixlib-f895d68c90e0bf60c28389f00e60aa69b4cc2465.tar.zst
nixlib-f895d68c90e0bf60c28389f00e60aa69b4cc2465.zip
ocaml-http: update from 0.1.3 to 0.1.5
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/ocaml-modules/http/default.nix18
1 files changed, 7 insertions, 11 deletions
diff --git a/pkgs/development/ocaml-modules/http/default.nix b/pkgs/development/ocaml-modules/http/default.nix
index 59da5473ab10..932a5811bec7 100644
--- a/pkgs/development/ocaml-modules/http/default.nix
+++ b/pkgs/development/ocaml-modules/http/default.nix
@@ -1,20 +1,15 @@
 {stdenv, fetchurl, ocaml_pcre, ocamlnet, ocaml, findlib, camlp4}:
 
-let
-  ocaml_version = (builtins.parseDrvName ocaml.name).version;
-  pname = "ocaml-http";
-  version = "0.1.3";
-in
-
 stdenv.mkDerivation {
-  name = "${pname}-${version}";
+  name = "ocaml-http-0.1.5";
 
   src = fetchurl {
-    url = "http://upsilon.cc/~zack/hacking/software/${pname}/${pname}-${version}.tar.gz";
-    sha256 = "070xw033r4pk6f4l0wcknm75y9qm4mp622a4cgzmcfhm58v6kssn";
+    url = https://forge.ocamlcore.org/frs/download.php/545/ocaml-http-0.1.5.tar.gz;
+    sha256 = "09q12b0j01iymflssxigsqggbsp8dqh9pfvkm76dv860544mygws";
   };
 
-  buildInputs = [ocaml_pcre ocamlnet ocaml findlib camlp4];
+  buildInputs = [ocaml findlib camlp4];
+  propagatedBuildInputs = [ocaml_pcre ocamlnet];
 
   createFindlibDestdir = true;
 
@@ -31,7 +26,8 @@ stdenv.mkDerivation {
   '';
 
   meta = with stdenv.lib; {
-    homepage = "http://upsilon.cc/~zack/hacking/software/ocaml-http/";
+    homepage = http://ocaml-http.forge.ocamlcore.org/;
+    platforms = ocaml.meta.platforms;
     description = "do it yourself (OCaml) HTTP daemon";
     license = licenses.lgpl2;
     maintainers = with maintainers; [ roconnor vbgl ];