eff: 20140928 -> 5.0 (#39264)

This commit is contained in:
Vincent Laporte 2018-04-23 09:16:03 +02:00 committed by Jörg Thalheim
parent 8206341757
commit 5f82c322d6
3 changed files with 14 additions and 13 deletions

View File

@ -1,20 +1,21 @@
{ stdenv, fetchgit, ocaml, findlib, ocamlbuild, menhir, which }:
{ stdenv, fetchFromGitHub, which, ocamlPackages }:
let inherit (stdenv.lib) getVersion versionAtLeast; in
assert versionAtLeast (getVersion ocaml) "3.12";
let version = "5.0"; in
stdenv.mkDerivation {
name = "eff-20140928";
name = "eff-${version}";
src = fetchgit {
url = "https://github.com/matijapretnar/eff.git";
rev = "90f884a790fddddb51d4d1d3b7c2edf1e8aabb64";
sha256 = "0cqqrpvfw0nrk5d28mkzfvc8yzqxcss0k46bkmqhqjkqq886n2mm";
src = fetchFromGitHub {
owner = "matijapretnar";
repo = "eff";
rev = "v${version}";
sha256 = "1fslfj5d7fhj3f7kh558b8mk5wllwyq4rnhfkyd96fpy144sdcka";
};
buildInputs = [ ocaml findlib ocamlbuild menhir which ];
buildInputs = [ which ] ++ (with ocamlPackages; [
ocaml findlib ocamlbuild menhir js_of_ocaml js_of_ocaml-ocamlbuild
]);
doCheck = true;
checkTarget = "test";
@ -29,7 +30,7 @@ stdenv.mkDerivation {
backtracking, multi-threading, and much more...
'';
license = licenses.bsd2;
platforms = ocaml.meta.platforms or [];
inherit (ocamlPackages.ocaml.meta) platforms;
maintainers = [ maintainers.jirkamarsik ];
};
}

View File

@ -2089,6 +2089,8 @@ with pkgs;
edk2 = callPackage ../development/compilers/edk2 { };
eff = callPackage ../development/interpreters/eff { };
eflite = callPackage ../applications/audio/eflite {};
eid-mw = callPackage ../tools/security/eid-mw { };

View File

@ -217,8 +217,6 @@ let
easy-format = callPackage ../development/ocaml-modules/easy-format { };
eff = callPackage ../development/interpreters/eff { };
eliom = callPackage ../development/ocaml-modules/eliom {
lwt = lwt2;
js_of_ocaml = js_of_ocaml_2;