about summary refs log tree commit diff
path: root/pkgs/applications/networking/yaup
diff options
context:
space:
mode:
authorFrancesco Gazzetta <fgaz@fgaz.me>2022-10-17 12:06:14 +0200
committerFrancesco Gazzetta <fgaz@fgaz.me>2022-11-01 15:07:39 +0100
commiteac67059ddf294daec978806ec4b952ff5f26208 (patch)
treee5eacdb3a3a65d1d458b15428fdd36d8b0ae7acc /pkgs/applications/networking/yaup
parent06e2c42ae411d57087217096cacb409ade96ac74 (diff)
yaup: init at unstable-2019-10-16
Diffstat (limited to 'pkgs/applications/networking/yaup')
-rw-r--r--pkgs/applications/networking/yaup/default.nix47
1 files changed, 47 insertions, 0 deletions
diff --git a/pkgs/applications/networking/yaup/default.nix b/pkgs/applications/networking/yaup/default.nix
new file mode 100644
index 0000000000000..5894e758e9d96
--- /dev/null
+++ b/pkgs/applications/networking/yaup/default.nix
@@ -0,0 +1,47 @@
+{ lib
+, stdenv
+, fetchFromGitHub
+, intltool
+, pkg-config
+, wrapGAppsHook
+, gtk3
+, miniupnpc
+}:
+
+stdenv.mkDerivation rec {
+  pname = "yaup";
+  version = "unstable-2019-10-16";
+
+  src = fetchFromGitHub {
+    owner = "Holarse-Linuxgaming";
+    repo = "yaup";
+    rev = "7ee3fdbd8c1ecf0a0e6469c47560e26082808250";
+    hash = "sha256-RWnNjpgXRYncz9ID8zirENffy1UsfHD1H6Mmd8DKN4k=";
+  };
+
+  nativeBuildInputs = [
+    intltool
+    pkg-config
+    wrapGAppsHook
+  ];
+
+  buildInputs = [
+    gtk3
+    miniupnpc
+  ];
+
+  meta = with lib; {
+    homepage = "https://github.com/Holarse-Linuxgaming/yaup";
+    description = "Yet Another UPnP Portmapper";
+    longDescription = ''
+      Portmapping made easy.
+      Portforward your incoming traffic to a specified local ip.
+      Mostly used for IPv4.
+    '';
+    license = licenses.gpl3Plus;
+    maintainers = with maintainers; [ fgaz ];
+    platforms = platforms.all;
+    # ld: unknown option: --export-dynamic
+    broken = stdenv.isDarwin;
+  };
+}