summary refs log tree commit diff
path: root/pkgs/os-specific/linux/macchanger/default.nix
blob: 29d2a3914a299a8bfdba43b016a783785561f5b1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ stdenv, fetchFromGitHub, autoreconfHook, texinfo }:

stdenv.mkDerivation rec {
  pname = "macchanger";
  version = "1.7.0";

  src = fetchFromGitHub {
    owner = "alobbs";
    repo = "macchanger";
    rev = version;
    sha256 = "1hypx6sxhd2b1nsxj314hpkhj7q4x9p2kfaaf20rjkkkig0nck9r";
  };

  nativeBuildInputs = [ autoreconfHook texinfo ];

  outputs = [ "out" "info" ];

  meta = with stdenv.lib; {
    description = "A utility for viewing/manipulating the MAC address of network interfaces";
    maintainers = with maintainers; [ joachifm ma27 ];
    license = licenses.gpl2Plus;
    homepage = "https://www.gnu.org/software/macchanger";
    platforms = platforms.linux;
  };
}