summary refs log tree commit diff
path: root/pkgs/development/libraries/haskell/maccatcher/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/haskell/maccatcher/default.nix')
-rw-r--r--pkgs/development/libraries/haskell/maccatcher/default.nix15
1 files changed, 15 insertions, 0 deletions
diff --git a/pkgs/development/libraries/haskell/maccatcher/default.nix b/pkgs/development/libraries/haskell/maccatcher/default.nix
new file mode 100644
index 00000000000..6109f33f82f
--- /dev/null
+++ b/pkgs/development/libraries/haskell/maccatcher/default.nix
@@ -0,0 +1,15 @@
+{ cabal, binary, parsec }:
+
+cabal.mkDerivation (self: {
+  pname = "maccatcher";
+  version = "2.1.5";
+  sha256 = "0z56rbfr8vijhjf3dcqd4kaxgx9bf3qgi9sm61yc3i6ra60w7byb";
+  isLibrary = true;
+  isExecutable = true;
+  buildDepends = [ binary parsec ];
+  meta = {
+    description = "Obtain the host MAC address on *NIX and Windows";
+    license = self.stdenv.lib.licenses.bsd3;
+    platforms = self.ghc.meta.platforms;
+  };
+})