ocaml-http: update from 0.1.3 to 0.1.5

This commit is contained in:
Vincent Laporte 2014-11-08 07:20:28 +00:00
parent 2f38372f73
commit f895d68c90

View File

@ -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 ];