2015-03-26 23:04:44 +01:00
|
|
|
{ stdenv, fetchFromGitHub, autoreconfHook, texinfo }:
|
2014-11-19 04:12:02 +01:00
|
|
|
|
|
|
|
let
|
|
|
|
pname = "macchanger";
|
2015-03-26 23:04:44 +01:00
|
|
|
version = "1.7.0";
|
2014-11-19 04:12:02 +01:00
|
|
|
in
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "${pname}-${version}";
|
2015-03-26 23:04:44 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "alobbs";
|
|
|
|
repo = "macchanger";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "1hypx6sxhd2b1nsxj314hpkhj7q4x9p2kfaaf20rjkkkig0nck9r";
|
2014-11-19 04:12:02 +01:00
|
|
|
};
|
|
|
|
|
2015-03-26 23:04:44 +01:00
|
|
|
buildInputs = [ autoreconfHook texinfo ];
|
|
|
|
|
2014-11-19 04:12:02 +01:00
|
|
|
meta = {
|
|
|
|
description = "A utility for viewing/manipulating the MAC address of network interfaces";
|
2015-03-20 16:52:02 +01:00
|
|
|
maintainers = [ stdenv.lib.maintainers.joachifm ];
|
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
2014-11-19 04:12:02 +01:00
|
|
|
homepage = "https://www.gnu.org/software/macchanger";
|
2015-03-20 16:52:02 +01:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2014-11-19 04:12:02 +01:00
|
|
|
};
|
|
|
|
}
|