1 { lib, stdenv, fetchFromGitHub, fetchpatch, autoreconfHook, texinfo }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
11 sha256 = "1hypx6sxhd2b1nsxj314hpkhj7q4x9p2kfaaf20rjkkkig0nck9r";
16 url = "https://sources.debian.org/data/main/m/macchanger/1.7.0-5.3/debian/patches/02-fix_usage_message.patch";
17 sha256 = "0pxljmq0l0znylbhms09i19qwil74gm8gx3xx2ffx00dajaizj18";
20 url = "https://sources.debian.org/data/main/m/macchanger/1.7.0-5.3/debian/patches/06-update_OUI_list.patch";
21 sha256 = "04kbd784z9nwkjva5ckkvb0yb3pim9valb1viywn1yyh577d0y7w";
24 url = "https://sources.debian.org/data/main/m/macchanger/1.7.0-5.3/debian/patches/08-fix_random_MAC_choice.patch";
25 sha256 = "1vz3appxxsdf1imzrn57amazfwlbrvx6g78b6n88aqgwzy5dm34d";
28 url = "https://sources.debian.org/data/main/m/macchanger/1.7.0-5.3/debian/patches/check-random-device-read-errors.patch";
29 sha256 = "0pra6qnk39crjlidspg3l6hpaqiw43cypahx793l59mqn956cngc";
32 url = "https://sources.debian.org/data/main/m/macchanger/1.7.0-5.3/debian/patches/verify-changed-MAC.patch";
33 sha256 = "0vjhf2fnj1hlghjl821p6idrfc8hmd4lgps5lf1l68ylqvwjw0zj";
37 nativeBuildInputs = [ autoreconfHook texinfo ];
39 outputs = [ "out" "info" ];
42 description = "Utility for viewing/manipulating the MAC address of network interfaces";
43 maintainers = with maintainers; [ joachifm dotlambda ];
44 license = licenses.gpl2Plus;
45 homepage = "https://github.com/alobbs/macchanger";
46 platforms = platforms.linux;
47 mainProgram = "macchanger";