Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
37 lines
920 B
Nix
37 lines
920 B
Nix
{
|
|
stdenv,
|
|
lib,
|
|
fetchFromGitHub,
|
|
autoreconfHook,
|
|
readline,
|
|
withReadline ? true,
|
|
enableEmu ? true,
|
|
enableSpy ? true,
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
|
pname = "ngadmin";
|
|
version = "unstable-2020-10-05";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Alkorin";
|
|
repo = "ngadmin";
|
|
rev = "5bf8650ce6d465b8cb1e570548819f0cefe9a87d";
|
|
sha256 = "15vixhwqcpbjdxlaznans9w63kwl29mdkds6spvbv2i7l33qnhq4";
|
|
};
|
|
|
|
nativeBuildInputs = [ autoreconfHook ] ++ lib.optional withReadline readline;
|
|
enableParallelBuilding = true;
|
|
configureFlags =
|
|
lib.optional (!withReadline) "--without-readline"
|
|
++ lib.optional enableEmu "--enable-emu"
|
|
++ lib.optional enableSpy "--enable-spy";
|
|
|
|
meta = with lib; {
|
|
description = "Netgear switch (NSDP) administration tool";
|
|
homepage = "https://www.netgeek.ovh/wiki/projets:ngadmin";
|
|
license = licenses.gpl2Only;
|
|
maintainers = [ maintainers.astro ];
|
|
};
|
|
}
|