summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorSandro <sandro.jaeckel@gmail.com>2021-11-22 15:43:33 +0100
committerGitHub <noreply@github.com>2021-11-22 15:43:33 +0100
commitff8f08c372f38531472767a6e172cc62eec1c4ef (patch)
treeb5e261f8317697dd4d8348bf14220bf4d74276d5 /pkgs
parent4d3a65a8b8cb96d253dc8e885af6d019688b7985 (diff)
parentf390ad51bf7331ecb9d30f6568eeb17d7ab68e95 (diff)
downloadnixpkgs-ff8f08c372f38531472767a6e172cc62eec1c4ef.tar
nixpkgs-ff8f08c372f38531472767a6e172cc62eec1c4ef.tar.gz
nixpkgs-ff8f08c372f38531472767a6e172cc62eec1c4ef.tar.bz2
nixpkgs-ff8f08c372f38531472767a6e172cc62eec1c4ef.tar.lz
nixpkgs-ff8f08c372f38531472767a6e172cc62eec1c4ef.tar.xz
nixpkgs-ff8f08c372f38531472767a6e172cc62eec1c4ef.tar.zst
nixpkgs-ff8f08c372f38531472767a6e172cc62eec1c4ef.zip
Merge pull request #145885 from trofi/fix-jnettop-for-ncurses-6.3
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/tools/networking/jnettop/default.nix10
1 files changed, 9 insertions, 1 deletions
diff --git a/pkgs/tools/networking/jnettop/default.nix b/pkgs/tools/networking/jnettop/default.nix
index 91f92236ecf..2c002843eca 100644
--- a/pkgs/tools/networking/jnettop/default.nix
+++ b/pkgs/tools/networking/jnettop/default.nix
@@ -18,6 +18,14 @@ stdenv.mkDerivation rec {
       url = "https://sources.debian.net/data/main/j/jnettop/0.13.0-1/debian/patches/0001-Use-64-bit-integers-for-byte-totals-support-bigger-u.patch";
       sha256 = "1b0alc12sj8pzcb66f8xslbqlbsvq28kz34v6jfhbb1q25hyr7jg";
     })
+
+    # Fix pending upstream inclusion for ncurses-6.3:
+    #  https://sourceforge.net/p/jnettop/patches/5/
+    (fetchpatch {
+      name = "ncurses-6.3.patch";
+      url = "https://sourceforge.net/p/jnettop/patches/5/attachment/jnettop-0.13.0-ncurses-6.3.patch";
+      sha256 = "1a0g3bal6f2fh1sq9q5kfwljrnskfvrhdzhjadcds34gzsr26v7x";
+    })
   ];
 
   preConfigure = "autoconf ";
@@ -31,7 +39,7 @@ stdenv.mkDerivation rec {
       by bandwidth they use.
     '';
 
-    homepage = "http://jnettop.kubs.info/";
+    homepage = "https://sourceforge.net/projects/jnettop/";
     license = lib.licenses.gpl2Plus;
     platforms = lib.platforms.unix;
   };