mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 23:36:17 +01:00
Add a derivation for eliom (ocaml web framework)
This commit is contained in:
parent
e8250dd94a
commit
2709d32274
2 changed files with 31 additions and 0 deletions
29
pkgs/development/ocaml-modules/eliom/default.nix
Normal file
29
pkgs/development/ocaml-modules/eliom/default.nix
Normal file
|
@ -0,0 +1,29 @@
|
|||
{ stdenv, fetchurl, ocaml, findlib, which, ocsigen_server, ocsigen_deriving,
|
||||
js_of_ocaml, ocaml_react, ocaml_lwt, calendar, cryptokit, tyxml,
|
||||
ocaml_ipaddr, ocamlnet, ocaml_ssl, ocaml_pcre, ocaml_optcomp}:
|
||||
|
||||
stdenv.mkDerivation
|
||||
{
|
||||
name = "eliom-4.0.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = https://github.com/ocsigen/eliom/archive/4.0.0.tar.gz;
|
||||
sha256 = "1xf2l6lvngxzwaw6lvr6sgi48rz0wxg65q9lz4jzqjarkp0sx206";
|
||||
};
|
||||
|
||||
buildInputs = [ocaml which ocsigen_server findlib ocsigen_deriving
|
||||
js_of_ocaml ocaml_react ocaml_lwt calendar
|
||||
cryptokit tyxml ocaml_ipaddr ocamlnet ocaml_ssl
|
||||
ocaml_pcre ocaml_optcomp];
|
||||
|
||||
preConfigure =
|
||||
''chmod a+x configure
|
||||
sed s/deriving-ocsigen/deriving/g -i configure
|
||||
'';
|
||||
|
||||
configureFlags = "--root $(out) --prefix /";
|
||||
|
||||
dontAddPrefix = true;
|
||||
|
||||
createFindlibDestdir = true;
|
||||
}
|
|
@ -3325,6 +3325,8 @@ let
|
|||
|
||||
easy-format = callPackage ../development/ocaml-modules/easy-format { };
|
||||
|
||||
eliom = callPackage ../development/ocaml-modules/eliom { };
|
||||
|
||||
findlib = callPackage ../development/tools/ocaml/findlib { };
|
||||
|
||||
javalib = callPackage ../development/ocaml-modules/javalib {
|
||||
|
|
Loading…
Reference in a new issue