summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/posix
diff options
context:
space:
mode:
authorVincent Laporte <Vincent.Laporte@gmail.com>2020-08-24 07:48:16 +0200
committerVincent Laporte <vbgl@users.noreply.github.com>2020-08-31 07:07:08 +0200
commit6a01a4e69a9ac65606d08adb14aa60f82eaf0aa0 (patch)
tree2b940fd7705f3311f04fe8fcb7efc83cdd3a7be7 /pkgs/development/ocaml-modules/posix
parent83122f9657610974f6ce9ea3a48056c61ed17abd (diff)
ocamlPackages.posix-types: init at 2.0.0
Diffstat (limited to 'pkgs/development/ocaml-modules/posix')
-rw-r--r--pkgs/development/ocaml-modules/posix/types.nix15
1 files changed, 15 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/posix/types.nix b/pkgs/development/ocaml-modules/posix/types.nix
new file mode 100644
index 0000000000000..2512fe892c131
--- /dev/null
+++ b/pkgs/development/ocaml-modules/posix/types.nix
@@ -0,0 +1,15 @@
+{ lib, buildDunePackage, posix-base }:
+
+buildDunePackage {
+  pname = "posix-types";
+
+  inherit (posix-base) version src useDune2;
+
+  minimumOCamlVersion = "4.03";
+
+  propagatedBuildInputs = [ posix-base ];
+
+  meta = posix-base.meta // {
+    description = "Bindings for the types defined in <sys/types.h>";
+  };
+}