nixpkgs-suyu/pkgs/os-specific/linux/macchanger/default.nix
William A. Kennington III 65e303570e macchanger: 1.6.0 -> 1.7.0
2015-03-26 15:04:44 -07:00

27 lines
692 B
Nix

{ 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;
};
}