1{ stdenv, fetchFromGitHub, autoreconfHook, texinfo }:
2
3stdenv.mkDerivation rec {
4 name = "macchanger-${version}";
5 version = "1.7.0";
6
7 src = fetchFromGitHub {
8 owner = "alobbs";
9 repo = "macchanger";
10 rev = version;
11 sha256 = "1hypx6sxhd2b1nsxj314hpkhj7q4x9p2kfaaf20rjkkkig0nck9r";
12 };
13
14 nativeBuildInputs = [ autoreconfHook texinfo ];
15
16 outputs = [ "out" "info" ];
17
18 meta = with stdenv.lib; {
19 description = "A utility for viewing/manipulating the MAC address of network interfaces";
20 maintainers = with maintainers; [ joachifm ];
21 license = licenses.gpl2Plus;
22 homepage = https://www.gnu.org/software/macchanger;
23 platforms = platforms.linux;
24 };
25}