about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJosé Romildo Malaquias <malaquias@gmail.com>2019-10-28 11:56:15 -0300
committerJosé Romildo Malaquias <malaquias@gmail.com>2019-10-28 14:41:12 -0300
commita0f12b059af4bf0ca65c76f6ee0e1209a94bdb77 (patch)
treeb29c07b8dc96e56e57d5bfbc2030bcc407725fbc
parent05a71af6a413b9ef663de5b1ffc3b980a5520958 (diff)
ocamlPackages.angstrom-unix: init at 0.12.1
-rw-r--r--pkgs/development/ocaml-modules/angstrom-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-unix/default.nix b/pkgs/development/ocaml-modules/angstrom-unix/default.nix
new file mode 100644
index 0000000000000..0d4ab400dd3eb
--- /dev/null
+++ b/pkgs/development/ocaml-modules/angstrom-unix/default.nix
@@ -0,0 +1,19 @@
+{ stdenv, fetchFromGitHub, buildDunePackage, angstrom }:
+
+buildDunePackage rec {
+  pname = "angstrom-unix";
+
+  inherit (angstrom) version src;
+
+  minimumOCamlVersion = "4.03";
+
+  propagatedBuildInputs = [ angstrom ];
+
+  doCheck = true;
+
+  meta = {
+    inherit (angstrom.meta) homepage license;
+    description = "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 3d660a0edda30..1b5b8e11a7528 100644
--- a/pkgs/top-level/ocaml-packages.nix
+++ b/pkgs/top-level/ocaml-packages.nix
@@ -24,6 +24,8 @@ let
 
     angstrom-lwt-unix = callPackage ../development/ocaml-modules/angstrom-lwt-unix { };
 
+    angstrom-unix = callPackage ../development/ocaml-modules/angstrom-unix { };
+
     ansiterminal = callPackage ../development/ocaml-modules/ansiterminal { };
 
     apron = callPackage ../development/ocaml-modules/apron { };