macchanger: move build deps to nativeBuildInputs
Also inline redundant toplevel let bindings
This commit is contained in:
parent
e06570fe6b
commit
60a6f4c3f1
@ -1,12 +1,8 @@
|
||||
{ stdenv, fetchFromGitHub, autoreconfHook, texinfo }:
|
||||
|
||||
let
|
||||
pname = "macchanger";
|
||||
version = "1.7.0";
|
||||
in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "${pname}-${version}";
|
||||
name = "macchanger-${version}";
|
||||
version = "1.7.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "alobbs";
|
||||
@ -15,13 +11,15 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "1hypx6sxhd2b1nsxj314hpkhj7q4x9p2kfaaf20rjkkkig0nck9r";
|
||||
};
|
||||
|
||||
buildInputs = [ autoreconfHook texinfo ];
|
||||
nativeBuildInputs = [ autoreconfHook texinfo ];
|
||||
|
||||
meta = {
|
||||
outputs = [ "out" "info" ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
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;
|
||||
maintainers = with maintainers; [ joachifm ];
|
||||
license = licenses.gpl2Plus;
|
||||
homepage = https://www.gnu.org/software/macchanger;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user