summary refs log tree commit diff
path: root/pkgs/os-specific/linux/macchanger/default.nix
blob: b6ae89afbaf6fbaf4d953d9c3bc02c68b60fd659 (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
26
27
{ stdenv, fetchFromGitHub, autoreconfHook, texinfo }:

let
  pname = "macchanger";
  version = "1.7.0";
in

stdenv.mkDerivation rec {
  name = "${pname}-${version}";

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

  buildInputs = [ autoreconfHook texinfo ];

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