diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2020-06-11 10:22:31 +0200 |
---|---|---|
committer | Vincent Laporte <vbgl@users.noreply.github.com> | 2020-06-15 08:53:50 +0200 |
commit | d6a4ee1193b0923137ae24f82d973d3e6a932ba0 (patch) | |
tree | 3a6012a5e1a93a96b3a24a4014e7c8594ee660f9 /pkgs/development/tools | |
parent | ff5f77688612a46bddcba990a3e3d8dc7e257c81 (diff) | |
download | nixlib-d6a4ee1193b0923137ae24f82d973d3e6a932ba0.tar nixlib-d6a4ee1193b0923137ae24f82d973d3e6a932ba0.tar.gz nixlib-d6a4ee1193b0923137ae24f82d973d3e6a932ba0.tar.bz2 nixlib-d6a4ee1193b0923137ae24f82d973d3e6a932ba0.tar.lz nixlib-d6a4ee1193b0923137ae24f82d973d3e6a932ba0.tar.xz nixlib-d6a4ee1193b0923137ae24f82d973d3e6a932ba0.tar.zst nixlib-d6a4ee1193b0923137ae24f82d973d3e6a932ba0.zip |
ocamlPackages.js_of_ocaml_2: remove at 2.7 & 2.8.4
Diffstat (limited to 'pkgs/development/tools')
-rw-r--r-- | pkgs/development/tools/ocaml/js_of_ocaml/default.nix | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/pkgs/development/tools/ocaml/js_of_ocaml/default.nix b/pkgs/development/tools/ocaml/js_of_ocaml/default.nix deleted file mode 100644 index 7f6426c9610d..000000000000 --- a/pkgs/development/tools/ocaml/js_of_ocaml/default.nix +++ /dev/null @@ -1,40 +0,0 @@ -{ stdenv, fetchurl, ocaml, findlib, lwt, menhir, ocsigen_deriving, ppx_deriving, camlp4, ocamlbuild -, cmdliner, tyxml, reactivedata, cppo, which, base64, uchar, yojson -}: - -let version = if stdenv.lib.versionAtLeast ocaml.version "4.02" - then "2.8.4" else "2.7"; -in - -stdenv.mkDerivation { - pname = "js_of_ocaml"; - inherit version; - src = fetchurl { - url = "https://github.com/ocsigen/js_of_ocaml/archive/${version}.tar.gz"; - sha256 = { - "2.7" = "1dali1akyd4zmkwav0d957ynxq2jj6cc94r4xiaql7ca89ajz4jj"; - "2.8.4" = "098ph50s9kqw6rc3qjn39zv9b5swdf4qr44afwqfkkjgjs5d7vbl"; - }.${version}; - }; - - buildInputs = [ ocaml findlib menhir ocsigen_deriving ocamlbuild - cmdliner reactivedata cppo which base64 ] - ++ stdenv.lib.optionals (stdenv.lib.versionAtLeast ocaml.version "4.02") [ yojson tyxml ]; - propagatedBuildInputs = [ lwt camlp4 ppx_deriving ] - ++ stdenv.lib.optional (version == "2.8.4") uchar; - - patches = [ ./Makefile.conf.diff ]; - - createFindlibDestdir = true; - - meta = with stdenv.lib; { - homepage = "http://ocsigen.org/js_of_ocaml/"; - description = "Compiler of OCaml bytecode to Javascript. It makes it possible to run Ocaml programs in a Web browser"; - license = licenses.lgpl2; - platforms = ocaml.meta.platforms or []; - maintainers = [ - maintainers.gal_bolle - ]; - broken = versionAtLeast ocaml.version "4.05"; - }; -} |