diff options
author | José Romildo Malaquias <malaquias@gmail.com> | 2019-10-28 11:54:52 -0300 |
---|---|---|
committer | José Romildo Malaquias <malaquias@gmail.com> | 2019-10-28 14:40:53 -0300 |
commit | 05a71af6a413b9ef663de5b1ffc3b980a5520958 (patch) | |
tree | a5cf9b9bb288208f5f66baa001a5e79f7a230de8 | |
parent | 46eacf359be1c1c281fe607fdc0192d4a0347c40 (diff) |
ocamlPackages.angstrom-lwt-unix: init at 0.12.1
-rw-r--r-- | pkgs/development/ocaml-modules/angstrom-lwt-unix/default.nix | 19 | ||||
-rw-r--r-- | pkgs/top-level/ocaml-packages.nix | 2 |
2 files changed, 21 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/angstrom-lwt-unix/default.nix b/pkgs/development/ocaml-modules/angstrom-lwt-unix/default.nix new file mode 100644 index 0000000000000..d249c4512914f --- /dev/null +++ b/pkgs/development/ocaml-modules/angstrom-lwt-unix/default.nix @@ -0,0 +1,19 @@ +{ stdenv, fetchFromGitHub, buildDunePackage, angstrom, ocaml_lwt }: + +buildDunePackage rec { + pname = "angstrom-lwt-unix"; + + inherit (angstrom) version src; + + minimumOCamlVersion = "4.03"; + + propagatedBuildInputs = [ angstrom ocaml_lwt ]; + + doCheck = true; + + meta = { + inherit (angstrom.meta) homepage license; + description = "Lwt_unix support for Angstrom"; + maintainers = with stdenv.lib.maintainers; [ romildo ]; + }; +} diff --git a/pkgs/top-level/ocaml-packages.nix b/pkgs/top-level/ocaml-packages.nix index ca2de5b0d3ee3..3d660a0edda30 100644 --- a/pkgs/top-level/ocaml-packages.nix +++ b/pkgs/top-level/ocaml-packages.nix @@ -22,6 +22,8 @@ let angstrom-async = callPackage ../development/ocaml-modules/angstrom-async { }; + angstrom-lwt-unix = callPackage ../development/ocaml-modules/angstrom-lwt-unix { }; + ansiterminal = callPackage ../development/ocaml-modules/ansiterminal { }; apron = callPackage ../development/ocaml-modules/apron { }; |