summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/macaddr/cstruct.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/ocaml-modules/macaddr/cstruct.nix')
-rw-r--r--pkgs/development/ocaml-modules/macaddr/cstruct.nix17
1 files changed, 17 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/macaddr/cstruct.nix b/pkgs/development/ocaml-modules/macaddr/cstruct.nix
new file mode 100644
index 00000000000..991a77a6ba2
--- /dev/null
+++ b/pkgs/development/ocaml-modules/macaddr/cstruct.nix
@@ -0,0 +1,17 @@
+{ lib, buildDunePackage
+, macaddr, cstruct
+}:
+
+buildDunePackage {
+  pname = "macaddr-cstruct";
+
+  inherit (macaddr) version src minimumOCamlVersion;
+
+  propagatedBuildInputs = [ macaddr cstruct ];
+
+  doCheck = true;
+
+  meta = macaddr.meta // {
+    description = "A library for manipulation of MAC address representations using Cstructs";
+  };
+}