diff options
author | cillianderoiste <cillian.deroiste@gmail.com> | 2014-10-28 17:59:45 +0100 |
---|---|---|
committer | cillianderoiste <cillian.deroiste@gmail.com> | 2014-10-28 17:59:45 +0100 |
commit | 60bf93c5da2d62148b37305bafcdffbad6f13bef (patch) | |
tree | 60ca05c5c923037df85374255010d66bbf9b489a /pkgs/development/interpreters | |
parent | ade044f349c3d13513de5428d1eb56661e6141c2 (diff) | |
parent | 3ee1f6ee79b31c77b5704cae755ebe122a5e2e53 (diff) | |
download | nixpkgs-60bf93c5da2d62148b37305bafcdffbad6f13bef.tar nixpkgs-60bf93c5da2d62148b37305bafcdffbad6f13bef.tar.gz nixpkgs-60bf93c5da2d62148b37305bafcdffbad6f13bef.tar.bz2 nixpkgs-60bf93c5da2d62148b37305bafcdffbad6f13bef.tar.lz nixpkgs-60bf93c5da2d62148b37305bafcdffbad6f13bef.tar.xz nixpkgs-60bf93c5da2d62148b37305bafcdffbad6f13bef.tar.zst nixpkgs-60bf93c5da2d62148b37305bafcdffbad6f13bef.zip |
Merge pull request #4701 from jirkamarsik/eff
Added eff-20140928
Diffstat (limited to 'pkgs/development/interpreters')
-rw-r--r-- | pkgs/development/interpreters/eff/default.nix | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/pkgs/development/interpreters/eff/default.nix b/pkgs/development/interpreters/eff/default.nix new file mode 100644 index 00000000000..4f2e100c684 --- /dev/null +++ b/pkgs/development/interpreters/eff/default.nix @@ -0,0 +1,35 @@ +{ stdenv, fetchgit, ocaml, findlib, menhir, which }: + +let inherit (stdenv.lib) getVersion versionAtLeast; in + +assert versionAtLeast (getVersion ocaml) "3.12"; + +stdenv.mkDerivation { + + name = "eff-20140928"; + + src = fetchgit { + url = "https://github.com/matijapretnar/eff.git"; + rev = "90f884a790fddddb51d4d1d3b7c2edf1e8aabb64"; + sha256 = "28e389b35e6959072c245c2e79fe305885b1b2d44ff540a02a097e09e9f9698f"; + }; + + buildInputs = [ ocaml findlib menhir which ]; + + doCheck = true; + checkTarget = "test"; + + meta = with stdenv.lib; { + homepage = "http://www.eff-lang.org"; + description = "A functional programming language based on algebraic effects and their handlers"; + longDescription = '' + Eff is a functional language with handlers of not only exceptions, + but also of other computational effects such as state or I/O. With + handlers, you can simply implement transactions, redirections, + backtracking, multi-threading, and much more... + ''; + license = licenses.bsd2; + platforms = ocaml.meta.platforms; + maintainers = [ maintainers.jirkamarsik ]; + }; +} |