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