summary refs log tree commit diff
path: root/pkgs/applications/system
diff options
context:
space:
mode:
authorRyan Horiguchi <ryan.horiguchi@gmail.com>2022-07-31 12:34:58 +0200
committerRyan Horiguchi <ryan.horiguchi@gmail.com>2022-07-31 12:34:58 +0200
commit550f8b9ddd9821a62213523cef094c8fc0c7c355 (patch)
tree810c8ff0d0e9aa94d5e6a2bb7d31e1f981b4a317 /pkgs/applications/system
parentd0617b0846cdf6e717f6418adcfe7f834ec20586 (diff)
glances: 3.2.6.4 -> 3.2.7
Diffstat (limited to 'pkgs/applications/system')
-rw-r--r--pkgs/applications/system/glances/default.nix17
1 files changed, 2 insertions, 15 deletions
diff --git a/pkgs/applications/system/glances/default.nix b/pkgs/applications/system/glances/default.nix
index 60339bf2e5811..495d236b3528b 100644
--- a/pkgs/applications/system/glances/default.nix
+++ b/pkgs/applications/system/glances/default.nix
@@ -9,29 +9,16 @@
 
 buildPythonApplication rec {
   pname = "glances";
-  version = "3.2.6.4";
+  version = "3.2.7";
   disabled = isPyPy;
 
   src = fetchFromGitHub {
     owner = "nicolargo";
     repo = "glances";
     rev = "v${version}";
-    sha256 = "sha256-i88bz6AwfDbqC+7yvr7uDofAqBwQmnfoKbt3iJz4Ft8=";
+    sha256 = "sha256-WZDvC95Y6Xc7dOuPJJlJLI4PCZR76pYPl8NGtmxe91o=";
   };
 
-  # Some tests fail in the sandbox (they e.g. require access to /sys/class/power_supply):
-  patches = lib.optional (doCheck && stdenv.isLinux) ./skip-failing-tests.patch
-    ++ lib.optional (doCheck && stdenv.isDarwin)
-    [
-      # Fix "TypeError: unsupported operand type(s) for +=: 'int' and 'NoneType'" on darwin
-      # https://github.com/nicolargo/glances/pull/2082
-      (fetchpatch {
-        name = "fix-typeerror-when-testing-on-darwin.patch";
-        url = "https://patch-diff.githubusercontent.com/raw/nicolargo/glances/pull/2082.patch";
-        sha256 = "sha256-MIePPywZ2dTTqXjf7EJiHlQ7eltiHzgocqrnLeLJwZ4=";
-      })
-    ];
-
   # On Darwin this package segfaults due to mismatch of pure and impure
   # CoreFoundation. This issues was solved for binaries but for interpreted
   # scripts a workaround below is still required.