nixpkgs/pkgs/os-specific/linux/macchanger/default.nix

28 lines
692 B
Nix
Raw Normal View History

2015-03-26 22:04:44 +00:00
{ stdenv, fetchFromGitHub, autoreconfHook, texinfo }:
let
pname = "macchanger";
2015-03-26 22:04:44 +00:00
version = "1.7.0";
in
stdenv.mkDerivation rec {
name = "${pname}-${version}";
2015-03-26 22:04:44 +00:00
src = fetchFromGitHub {
owner = "alobbs";
repo = "macchanger";
rev = version;
sha256 = "1hypx6sxhd2b1nsxj314hpkhj7q4x9p2kfaaf20rjkkkig0nck9r";
};
2015-03-26 22:04:44 +00:00
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;
};
}