2022-10-21 18:38:19 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
2023-07-15 17:15:38 +00:00
|
|
|
, fetchzip
|
|
|
|
, desktop-file-utils
|
2022-10-21 18:38:19 +00:00
|
|
|
, intltool
|
2023-07-15 17:15:38 +00:00
|
|
|
, meson
|
|
|
|
, ninja
|
2022-10-21 18:38:19 +00:00
|
|
|
, pkg-config
|
|
|
|
, wrapGAppsHook
|
2023-07-15 17:15:38 +00:00
|
|
|
, gssdp_1_6
|
2022-10-21 18:38:19 +00:00
|
|
|
, gtk3
|
2023-07-15 17:15:38 +00:00
|
|
|
, gupnp_1_6
|
2022-10-21 18:38:19 +00:00
|
|
|
}:
|
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
2022-10-21 18:38:19 +00:00
|
|
|
pname = "upnp-router-control";
|
2023-11-16 04:20:00 +00:00
|
|
|
version = "0.3.4";
|
2022-10-21 18:38:19 +00:00
|
|
|
|
2023-07-15 17:15:38 +00:00
|
|
|
src = fetchzip {
|
2024-04-21 15:54:59 +00:00
|
|
|
url = "https://launchpad.net/upnp-router-control/trunk/${finalAttrs.version}/+download/upnp-router-control-${finalAttrs.version}.tar.xz";
|
2023-11-16 04:20:00 +00:00
|
|
|
hash = "sha256-28F/OB2fHemn7HLVFEDmefRA5AsEaQKy+Qbcv75z9w0=";
|
2022-10-21 18:38:19 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
2023-07-15 17:15:38 +00:00
|
|
|
desktop-file-utils
|
2022-10-21 18:38:19 +00:00
|
|
|
intltool
|
2023-07-15 17:15:38 +00:00
|
|
|
meson
|
|
|
|
ninja
|
2022-10-21 18:38:19 +00:00
|
|
|
pkg-config
|
|
|
|
wrapGAppsHook
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
2023-07-15 17:15:38 +00:00
|
|
|
gssdp_1_6
|
2022-10-21 18:38:19 +00:00
|
|
|
gtk3
|
2023-07-15 17:15:38 +00:00
|
|
|
gupnp_1_6
|
2022-10-21 18:38:19 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
# also https://gitlab.gnome.org/DnaX/upnp-router-control
|
|
|
|
homepage = "https://launchpad.net/upnp-router-control";
|
|
|
|
description = "Access some parameters of the router and manage port forwarding";
|
|
|
|
longDescription = ''
|
|
|
|
A GTK application to access some parameters of the router like:
|
|
|
|
the network speed, the external IP and the model name.
|
|
|
|
It can manage port forwarding through a simple GUI interface.
|
|
|
|
'';
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
maintainers = with maintainers; [ fgaz ];
|
|
|
|
platforms = platforms.all;
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "upnp-router-control";
|
2022-10-21 18:38:19 +00:00
|
|
|
};
|
2024-04-21 15:54:59 +00:00
|
|
|
})
|