aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/nixpkgs/pkgs/development/ocaml-modules/macaddr/cstruct.nix
diff options
context:
space:
mode:
Diffstat (limited to 'infra/libkookie/nixpkgs/pkgs/development/ocaml-modules/macaddr/cstruct.nix')
-rw-r--r--infra/libkookie/nixpkgs/pkgs/development/ocaml-modules/macaddr/cstruct.nix19
1 files changed, 19 insertions, 0 deletions
diff --git a/infra/libkookie/nixpkgs/pkgs/development/ocaml-modules/macaddr/cstruct.nix b/infra/libkookie/nixpkgs/pkgs/development/ocaml-modules/macaddr/cstruct.nix
new file mode 100644
index 000000000000..143230408920
--- /dev/null
+++ b/infra/libkookie/nixpkgs/pkgs/development/ocaml-modules/macaddr/cstruct.nix
@@ -0,0 +1,19 @@
+{ lib, buildDunePackage
+, macaddr, cstruct
+}:
+
+buildDunePackage {
+ pname = "macaddr-cstruct";
+
+ inherit (macaddr) version src minimumOCamlVersion;
+
+ useDune2 = true;
+
+ propagatedBuildInputs = [ macaddr cstruct ];
+
+ doCheck = true;
+
+ meta = macaddr.meta // {
+ description = "A library for manipulation of MAC address representations using Cstructs";
+ };
+}