ocamlPackages.ocsigen-start: 1.1.0 -> 1.2.0

This commit is contained in:
Vincent Laporte 2019-01-14 22:52:20 +00:00
parent 5a2f6b08bf
commit c3ddb39ade
No known key found for this signature in database
GPG key ID: EBD582ADDDB1F81F

View file

@ -1,14 +1,15 @@
{ stdenv, fetchurl, buildOcaml, ocsigen-toolkit, eliom, ocaml_pcre, pgocaml, macaque, safepass, yojson, ocsigen_deriving, ocsigen_server
{ stdenv, fetchFromGitHub, buildOcaml, ocsigen-toolkit, eliom, ocaml_pcre, pgocaml, macaque, safepass, yojson, ocsigen_deriving, ocsigen_server
, js_of_ocaml-camlp4
, resource-pooling
}:
buildOcaml rec
{
name = "ocsigen-start";
version = "1.1.0";
version = "1.2.0";
buildInputs = [ eliom js_of_ocaml-camlp4 ];
propagatedBuildInputs = [ pgocaml macaque safepass ocaml_pcre ocsigen-toolkit yojson ocsigen_deriving ocsigen_server ];
propagatedBuildInputs = [ pgocaml macaque safepass ocaml_pcre ocsigen-toolkit yojson ocsigen_deriving ocsigen_server resource-pooling ];
patches = [ ./templates-dir.patch ];
@ -16,13 +17,13 @@ buildOcaml rec
substituteInPlace "src/os_db.ml" --replace "citext" "text"
'';
src = fetchurl {
url = "https://github.com/ocsigen/${name}/archive/${version}.tar.gz";
sha256 = "09cw6qzcld0m1qm66mbjg9gw8l6dynpw3fzhm3kfx5ldh0afgvjq";
src = fetchFromGitHub {
owner = "ocsigen";
repo = name;
rev = version;
sha256 = "11sn673vhs08z8dq7ajnaz923kg82vvz9z5v6zq171y4zgg901zj";
};
createFindlibDestdir = true;
meta = {
homepage = http://ocsigen.org/ocsigen-start;
description = "Eliom application skeleton";