git.iko.soy/typeable/nixpkgs
on master help sign in
ocaml-faillib: init at 111.17.00
commit289e2a10dbb26c368aa9b82229b17ea545b6d93d authorMatthew Maurer <maurer@matthewmaurer.org> dateWed 10 Jun 2015, 23:26 (11 years ago) parent1d79d84
2 files changed+26
pkgs/development/ocaml-modules/faillib/default.nix+24 pkgs/top-level/all-packages.nix+2
pkgs/development/ocaml-modules/faillib/default.nixnew file+24
@@ -0,0 +1,24 @@
1+{stdenv, buildOcaml, fetchurl, herelib, camlp4}:
2+
3+buildOcaml rec {
4+ minimumSupportedOcamlVersion = "4.00";
5+ name = "faillib";
6+ version = "111.17.00";
7+
8+ src = fetchurl {
9+ url = "https://github.com/janestreet/faillib/archive/${version}.tar.gz";
10+ sha256 = "12dvaxkmgf7yzzvbadcyk1n17llgh6p8qr33867d21npaljy7l9v";
11+ };
12+
13+ propagatedBuildInputs = [ camlp4 herelib ];
14+
15+ doCheck = true;
16+ checkPhase = "make test";
17+
18+ meta = with stdenv.lib; {
19+ homepage = https://ocaml.janestreet.com/;
20+ description = "Library for dealing with failure in OCaml";
21+ license = licenses.asl20;
22+ maintainers = [ maintainers.maurer ];
23+ };
24+}
pkgs/top-level/all-packages.nix+2
@@ -4326,6 +4326,8 @@ let
43264326 lwt = ocaml_lwt;
43274327 };
43284328
4329+ faillib = callPackage ../development/ocaml-modules/faillib { };
4330+
43294331 fieldslib = callPackage ../development/ocaml-modules/fieldslib { };
43304332
43314333 fileutils = callPackage ../development/ocaml-modules/fileutils { };