biglybt: 3.5.0.0 -> 3.6.0.0
[NixPkgs.git] / pkgs / applications / networking / ngadmin / default.nix
blobf63fbfcf950335d0bf37062b0d3013aea82aae88
1 { stdenv, lib, fetchFromGitHub, autoreconfHook, readline
2 , withReadline ? true
3 , enableEmu ? true
4 , enableSpy ? true
5 }:
7 stdenv.mkDerivation {
8   pname = "ngadmin";
9   version = "unstable-2020-10-05";
11   src = fetchFromGitHub {
12     owner = "Alkorin";
13     repo = "ngadmin";
14     rev = "5bf8650ce6d465b8cb1e570548819f0cefe9a87d";
15     sha256 = "15vixhwqcpbjdxlaznans9w63kwl29mdkds6spvbv2i7l33qnhq4";
16   };
18   nativeBuildInputs =
19     [ autoreconfHook ]
20     ++ lib.optional withReadline readline;
21   enableParallelBuilding = true;
22   configureFlags = with lib;
23     optional (!withReadline) "--without-readline"
24     ++ optional enableEmu "--enable-emu"
25     ++ optional enableSpy "--enable-spy";
27   meta = with lib; {
28     description = "Netgear switch (NSDP) administration tool";
29     homepage = "https://www.netgeek.ovh/wiki/projets:ngadmin";
30     license = licenses.gpl2Only;
31     maintainers = [ maintainers.astro ];
32   };