mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-09 22:45:08 +00:00
eb04659fc2
This was achieved using the following command: sd 'wrapGAppsHook\b' wrapGAppsHook3 (rg -l 'wrapGAppsHook\b') And then manually reverted the following changes: - alias in top-level.nix - function name in wrap-gapps-hook.sh - comment in postFixup of at-spi2-core - comment in gtk4 - comment in preFixup of 1password-gui/linux.nix - comment in postFixup of qgis/unwrapped-ltr.nix and qgis/unwrapped.nix - comment in postFixup of telegram-desktop - comment in postFixup of fwupd - buildCommand of mongodb-compass - postFixup of xflux-gui - comment in a patch in kdePackages.kde-gtk-config and plasma5Packages.kde-gtk-config - description of programs.sway.wrapperFeatures.gtk NixOS option (manual rebuild)
54 lines
1.2 KiB
Nix
54 lines
1.2 KiB
Nix
{ lib
|
|
, stdenv
|
|
, fetchzip
|
|
, desktop-file-utils
|
|
, intltool
|
|
, meson
|
|
, ninja
|
|
, pkg-config
|
|
, wrapGAppsHook3
|
|
, gssdp_1_6
|
|
, gtk3
|
|
, gupnp_1_6
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "upnp-router-control";
|
|
version = "0.3.4";
|
|
|
|
src = fetchzip {
|
|
url = "https://launchpad.net/upnp-router-control/trunk/${finalAttrs.version}/+download/upnp-router-control-${finalAttrs.version}.tar.xz";
|
|
hash = "sha256-28F/OB2fHemn7HLVFEDmefRA5AsEaQKy+Qbcv75z9w0=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
desktop-file-utils
|
|
intltool
|
|
meson
|
|
ninja
|
|
pkg-config
|
|
wrapGAppsHook3
|
|
];
|
|
|
|
buildInputs = [
|
|
gssdp_1_6
|
|
gtk3
|
|
gupnp_1_6
|
|
];
|
|
|
|
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;
|
|
mainProgram = "upnp-router-control";
|
|
};
|
|
})
|