summary refs log tree commit diff
path: root/pkgs/os-specific/linux/macchanger
diff options
context:
space:
mode:
authorJoachim Fasting <joachifm@fastmail.fm>2014-11-19 04:12:02 +0100
committerJoachim Fasting <joachifm@fastmail.fm>2014-11-22 16:20:52 +0100
commit4fdb98f54072768d06c8a2b35563f8c03582cce3 (patch)
treeeb6933d310e3ce1b40b98ae1cbd84eb121af5daa /pkgs/os-specific/linux/macchanger
parent444bda19362e6b3d725b91dbcd2f2963f3fc23e8 (diff)
downloadnixpkgs-4fdb98f54072768d06c8a2b35563f8c03582cce3.tar
nixpkgs-4fdb98f54072768d06c8a2b35563f8c03582cce3.tar.gz
nixpkgs-4fdb98f54072768d06c8a2b35563f8c03582cce3.tar.bz2
nixpkgs-4fdb98f54072768d06c8a2b35563f8c03582cce3.tar.lz
nixpkgs-4fdb98f54072768d06c8a2b35563f8c03582cce3.tar.xz
nixpkgs-4fdb98f54072768d06c8a2b35563f8c03582cce3.tar.zst
nixpkgs-4fdb98f54072768d06c8a2b35563f8c03582cce3.zip
macchanger: new expression
GNU macchanger is a tool for viewing/changing the MAC
address of a network device, with support for address
randomisation.
Diffstat (limited to 'pkgs/os-specific/linux/macchanger')
-rw-r--r--pkgs/os-specific/linux/macchanger/default.nix22
1 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/macchanger/default.nix b/pkgs/os-specific/linux/macchanger/default.nix
new file mode 100644
index 00000000000..1bbad958bfd
--- /dev/null
+++ b/pkgs/os-specific/linux/macchanger/default.nix
@@ -0,0 +1,22 @@
+{ stdenv, fetchurl }:
+
+let
+  pname = "macchanger";
+  version = "1.6.0";
+in
+
+stdenv.mkDerivation rec {
+  name = "${pname}-${version}";
+  src = fetchurl {
+    url = "mirror://gnu/${pname}/${name}.tar.gz";
+    sha256 = "31534f138f1d21fa247be74ba6bef3fbfa47bbcd5033e99bd10c432fe58e51f7";
+  };
+
+  meta = {
+    description = "A utility for viewing/manipulating the MAC address of network interfaces";
+    maintainer = with stdenv.lib.maintainers; [ joachifm ];
+    license = with stdenv.lib.licenses; gpl2Plus;
+    homepage = "https://www.gnu.org/software/macchanger";
+    platform = with stdenv.lib.platforms; linux;
+  };
+}