summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/macaddr/cstruct.nix
diff options
context:
space:
mode:
authorFrederik Rietdijk <fridh@fridh.nl>2020-07-02 17:14:53 +0200
committerFrederik Rietdijk <fridh@fridh.nl>2020-07-02 17:14:53 +0200
commitc33ca7c5ce4d80246fd656dd8a5ab078cc90c03d (patch)
treed1a10ef8a3e8fe00ac12ac1437ec46a856521084 /pkgs/development/ocaml-modules/macaddr/cstruct.nix
parent798c2d8bc1e947eb26e249b326bfaba49a91b735 (diff)
parent3ee58112693c11cd8157495e09714cf9ddb599b3 (diff)
downloadnixpkgs-c33ca7c5ce4d80246fd656dd8a5ab078cc90c03d.tar
nixpkgs-c33ca7c5ce4d80246fd656dd8a5ab078cc90c03d.tar.gz
nixpkgs-c33ca7c5ce4d80246fd656dd8a5ab078cc90c03d.tar.bz2
nixpkgs-c33ca7c5ce4d80246fd656dd8a5ab078cc90c03d.tar.lz
nixpkgs-c33ca7c5ce4d80246fd656dd8a5ab078cc90c03d.tar.xz
nixpkgs-c33ca7c5ce4d80246fd656dd8a5ab078cc90c03d.tar.zst
nixpkgs-c33ca7c5ce4d80246fd656dd8a5ab078cc90c03d.zip
Merge staging-next into staging
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";
+  };
+}