summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorJosé Romildo Malaquias <malaquias@gmail.com>2019-10-28 11:54:52 -0300
committerJosé Romildo Malaquias <malaquias@gmail.com>2019-10-28 14:40:53 -0300
commit05a71af6a413b9ef663de5b1ffc3b980a5520958 (patch)
treea5cf9b9bb288208f5f66baa001a5e79f7a230de8 /pkgs
parent46eacf359be1c1c281fe607fdc0192d4a0347c40 (diff)
downloadnixpkgs-05a71af6a413b9ef663de5b1ffc3b980a5520958.tar
nixpkgs-05a71af6a413b9ef663de5b1ffc3b980a5520958.tar.gz
nixpkgs-05a71af6a413b9ef663de5b1ffc3b980a5520958.tar.bz2
nixpkgs-05a71af6a413b9ef663de5b1ffc3b980a5520958.tar.lz
nixpkgs-05a71af6a413b9ef663de5b1ffc3b980a5520958.tar.xz
nixpkgs-05a71af6a413b9ef663de5b1ffc3b980a5520958.tar.zst
nixpkgs-05a71af6a413b9ef663de5b1ffc3b980a5520958.zip
ocamlPackages.angstrom-lwt-unix: init at 0.12.1
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/ocaml-modules/angstrom-lwt-unix/default.nix19
-rw-r--r--pkgs/top-level/ocaml-packages.nix2
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 00000000000..d249c451291
--- /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 ca2de5b0d3e..3d660a0edda 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 { };