aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/ocaml-modules/macaddr/cstruct.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/ocaml-modules/macaddr/cstruct.nix')
-rw-r--r--nixpkgs/pkgs/development/ocaml-modules/macaddr/cstruct.nix17
1 files changed, 17 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/ocaml-modules/macaddr/cstruct.nix b/nixpkgs/pkgs/development/ocaml-modules/macaddr/cstruct.nix
new file mode 100644
index 00000000000..991a77a6ba2
--- /dev/null
+++ b/nixpkgs/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";
+ };
+}