git.iko.soy/typeable/nixpkgs
on master help sign in
eff: 20140928 -> 5.0 (#39264)
commit5f82c322d64eaa2c10ff6bbcd3a00b6025632bbb authorVincent Laporte <vbgl@users.noreply.github.com> dateMon 23 Apr 2018, 09:16 (9 years ago) parent8206341
3 files changed+14−13
pkgs/development/interpreters/eff/default.nix+12−11 pkgs/top-level/all-packages.nix+2 pkgs/top-level/ocaml-packages.nix−2
pkgs/development/interpreters/eff/default.nix+12−11
@@ -1,20 +1,21 @@
1−{ stdenv, fetchgit, ocaml, findlib, ocamlbuild, menhir, which }:
1+{ stdenv, fetchFromGitHub, which, ocamlPackages }:
22
3−let inherit (stdenv.lib) getVersion versionAtLeast; in
4−
5−assert versionAtLeast (getVersion ocaml) "3.12";
3+let version = "5.0"; in
64
75stdenv.mkDerivation {
86
9− name = "eff-20140928";
7+ name = "eff-${version}";
108
11− src = fetchgit {
12− url = "https://github.com/matijapretnar/eff.git";
13− rev = "90f884a790fddddb51d4d1d3b7c2edf1e8aabb64";
14− sha256 = "0cqqrpvfw0nrk5d28mkzfvc8yzqxcss0k46bkmqhqjkqq886n2mm";
9+ src = fetchFromGitHub {
10+ owner = "matijapretnar";
11+ repo = "eff";
12+ rev = "v${version}";
13+ sha256 = "1fslfj5d7fhj3f7kh558b8mk5wllwyq4rnhfkyd96fpy144sdcka";
1514 };
1615
17− buildInputs = [ ocaml findlib ocamlbuild menhir which ];
16+ buildInputs = [ which ] ++ (with ocamlPackages; [
17+ ocaml findlib ocamlbuild menhir js_of_ocaml js_of_ocaml-ocamlbuild
18+ ]);
1819
1920 doCheck = true;
2021 checkTarget = "test";
@@ -29,7 +30,7 @@ stdenv.mkDerivation {
2930 backtracking, multi-threading, and much more...
3031 '';
3132 license = licenses.bsd2;
32− platforms = ocaml.meta.platforms or [];
33+ inherit (ocamlPackages.ocaml.meta) platforms;
3334 maintainers = [ maintainers.jirkamarsik ];
3435 };
3536}
pkgs/top-level/all-packages.nix+2
@@ -2089,6 +2089,8 @@ with pkgs;
20892089
20902090 edk2 = callPackage ../development/compilers/edk2 { };
20912091
2092+ eff = callPackage ../development/interpreters/eff { };
2093+
20922094 eflite = callPackage ../applications/audio/eflite {};
20932095
20942096 eid-mw = callPackage ../tools/security/eid-mw { };
pkgs/top-level/ocaml-packages.nix−2
@@ -217,8 +217,6 @@ let
217217
218218 easy-format = callPackage ../development/ocaml-modules/easy-format { };
219219
220− eff = callPackage ../development/interpreters/eff { };
221−
222220 eliom = callPackage ../development/ocaml-modules/eliom {
223221 lwt = lwt2;
224222 js_of_ocaml = js_of_ocaml_2;