|
|
|
@ -1,4 +1,8 @@ |
|
|
|
|
{ stdenv, lib, fetchFromGitHub, autoreconfHook, readline }: |
|
|
|
|
{ stdenv, lib, fetchFromGitHub, autoreconfHook, readline |
|
|
|
|
, withReadline ? true |
|
|
|
|
, enableEmu ? true |
|
|
|
|
, enableSpy ? true |
|
|
|
|
}: |
|
|
|
|
|
|
|
|
|
stdenv.mkDerivation { |
|
|
|
|
pname = "ngadmin"; |
|
|
|
@ -11,8 +15,14 @@ stdenv.mkDerivation { |
|
|
|
|
sha256 = "15vixhwqcpbjdxlaznans9w63kwl29mdkds6spvbv2i7l33qnhq4"; |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
nativeBuildInputs = [ autoreconfHook readline ]; |
|
|
|
|
nativeBuildInputs = |
|
|
|
|
[ autoreconfHook ] |
|
|
|
|
++ lib.optional withReadline readline; |
|
|
|
|
enableParallelBuild = true; |
|
|
|
|
configureFlags = with lib; |
|
|
|
|
optional (!withReadline) "--without-readline" |
|
|
|
|
++ optional enableEmu "--enable-emu" |
|
|
|
|
++ optional enableSpy "--enable-spy"; |
|
|
|
|
|
|
|
|
|
meta = with lib; { |
|
|
|
|
description = "Netgear switch (NSDP) administration tool"; |
|
|
|
|