nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 54 lines 1.3 kB view raw
1{ 2 lib, 3 stdenv, 4 fetchzip, 5 desktop-file-utils, 6 intltool, 7 meson, 8 ninja, 9 pkg-config, 10 wrapGAppsHook3, 11 gssdp_1_6, 12 gtk3, 13 gupnp_1_6, 14}: 15 16stdenv.mkDerivation (finalAttrs: { 17 pname = "upnp-router-control"; 18 version = "0.3.5"; 19 20 src = fetchzip { 21 url = "https://launchpad.net/upnp-router-control/trunk/${finalAttrs.version}/+download/upnp-router-control-${finalAttrs.version}.tar.xz"; 22 hash = "sha256-+yJzULNdzBkUw2EbHXoAbR9B/P0d6n8T7ojlYIrKgto="; 23 }; 24 25 nativeBuildInputs = [ 26 desktop-file-utils 27 intltool 28 meson 29 ninja 30 pkg-config 31 wrapGAppsHook3 32 ]; 33 34 buildInputs = [ 35 gssdp_1_6 36 gtk3 37 gupnp_1_6 38 ]; 39 40 meta = { 41 # also https://gitlab.gnome.org/DnaX/upnp-router-control 42 homepage = "https://launchpad.net/upnp-router-control"; 43 description = "Access some parameters of the router and manage port forwarding"; 44 longDescription = '' 45 A GTK application to access some parameters of the router like: 46 the network speed, the external IP and the model name. 47 It can manage port forwarding through a simple GUI interface. 48 ''; 49 license = lib.licenses.gpl3Plus; 50 maintainers = with lib.maintainers; [ fgaz ]; 51 platforms = lib.platforms.all; 52 mainProgram = "upnp-router-control"; 53 }; 54})