3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/os-specific/linux/macchanger/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

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

to pname
2019-08-15 13:41:18 +01:00

26 lines
677 B
Nix

{ 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 ];
license = licenses.gpl2Plus;
homepage = https://www.gnu.org/software/macchanger;
platforms = platforms.linux;
};
}