git.iko.soy/typeable/nixpkgs
on master help sign in
ocaml-faillib: init at 111.17.00
289e2a1Matthew Maurer
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
4326 lwt = ocaml_lwt;
4326 lwt = ocaml_lwt;
4327 };
4327 };
4328
4328
4329+ faillib = callPackage ../development/ocaml-modules/faillib { };
4330+
4329 fieldslib = callPackage ../development/ocaml-modules/fieldslib { };
4331 fieldslib = callPackage ../development/ocaml-modules/fieldslib { };
4330
4332
4331 fileutils = callPackage ../development/ocaml-modules/fileutils { };
4333 fileutils = callPackage ../development/ocaml-modules/fileutils { };