nixpkgs/pkgs/applications/networking/upnp-router-control/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

53 lines
1.2 KiB
Nix
Raw Normal View History

2022-10-17 10:04:09 +00:00
{ lib
, stdenv
2023-06-19 14:34:14 +00:00
, fetchzip
, desktop-file-utils
2022-10-17 10:04:09 +00:00
, intltool
2023-06-19 14:34:14 +00:00
, meson
, ninja
2022-10-17 10:04:09 +00:00
, pkg-config
, wrapGAppsHook
2023-06-19 14:34:14 +00:00
, gssdp_1_6
2022-10-17 10:04:09 +00:00
, gtk3
2023-06-19 14:34:14 +00:00
, gupnp_1_6
2022-10-17 10:04:09 +00:00
}:
stdenv.mkDerivation rec {
pname = "upnp-router-control";
2023-08-13 16:27:48 +00:00
version = "0.3.3";
2022-10-17 10:04:09 +00:00
2023-06-19 14:34:14 +00:00
src = fetchzip {
url = "https://launchpad.net/upnp-router-control/trunk/${version}/+download/upnp-router-control-${version}.tar.xz";
2023-08-13 16:27:48 +00:00
hash = "sha256-d5NmA1tOQtYPjGXYfH0p9CCnWM+aVTX2KuV36QCDxd8=";
2022-10-17 10:04:09 +00:00
};
nativeBuildInputs = [
2023-06-19 14:34:14 +00:00
desktop-file-utils
2022-10-17 10:04:09 +00:00
intltool
2023-06-19 14:34:14 +00:00
meson
ninja
2022-10-17 10:04:09 +00:00
pkg-config
wrapGAppsHook
];
buildInputs = [
2023-06-19 14:34:14 +00:00
gssdp_1_6
2022-10-17 10:04:09 +00:00
gtk3
2023-06-19 14:34:14 +00:00
gupnp_1_6
2022-10-17 10:04:09 +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;
};
}