ocamlPackages.ocsigen-start: 1.5.0 -> 1.8.0

This commit is contained in:
Vincent Laporte 2019-08-10 16:40:51 +00:00
parent 82db668615
commit 08f438fe50
No known key found for this signature in database
GPG Key ID: EBD582ADDDB1F81F

View File

@ -1,14 +1,13 @@
{ stdenv, fetchFromGitHub, buildOcaml, ocsigen-toolkit, eliom, ocaml_pcre, pgocaml, macaque, safepass, yojson, ocsigen_deriving, ocsigen_server
{ stdenv, fetchFromGitHub, ocaml, findlib, 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.5.0";
stdenv.mkDerivation rec {
name = "ocaml${ocaml.version}-ocsigen-start-${version}";
version = "1.8.0";
buildInputs = [ eliom js_of_ocaml-camlp4 ];
buildInputs = [ ocaml findlib eliom js_of_ocaml-camlp4 ];
propagatedBuildInputs = [ pgocaml macaque safepass ocaml_pcre ocsigen-toolkit yojson ocsigen_deriving ocsigen_server resource-pooling ];
patches = [ ./templates-dir.patch ];
@ -16,12 +15,14 @@ buildOcaml rec
postPatch = ''
substituteInPlace "src/os_db.ml" --replace "citext" "text"
'';
createFindlibDestdir = true;
src = fetchFromGitHub {
owner = "ocsigen";
repo = name;
repo = "ocsigen-start";
rev = version;
sha256 = "07478hz5jhxb242hfr808516k81vdbzj4j6cycvls3b9lzbyszha";
sha256 = "0h5gp06vxy6jpppz1x840gyf9viiy7lic7spx7fxldpy2jpv058s";
};
meta = {
@ -31,6 +32,7 @@ buildOcaml rec
An Eliom application skeleton, ready to use to build your own application with users, (pre)registration, notifications, etc.
'';
license = stdenv.lib.licenses.lgpl21;
inherit (ocaml.meta) platforms;
maintainers = [ stdenv.lib.maintainers.gal_bolle ];
};