From 0df169a62a587a93f7231361cfe6897af85bf4c3 Mon Sep 17 00:00:00 2001 From: Minijackson Date: Thu, 8 Dec 2022 14:34:28 +0100 Subject: [PATCH] sosreport: 4.3 -> 4.4 --- .../logging/sosreport/default.nix | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/pkgs/applications/logging/sosreport/default.nix b/pkgs/applications/logging/sosreport/default.nix index eb4f812767ad..8f4d06939f01 100644 --- a/pkgs/applications/logging/sosreport/default.nix +++ b/pkgs/applications/logging/sosreport/default.nix @@ -1,36 +1,33 @@ { lib , buildPythonPackage , fetchFromGitHub -, fetchpatch , gettext +, magic , pexpect +, pyyaml +, setuptools }: buildPythonPackage rec { pname = "sosreport"; - version = "4.3"; + version = "4.4"; src = fetchFromGitHub { owner = "sosreport"; repo = "sos"; rev = version; - sha256 = "sha256-fLEYRRQap7xqSyUU9MAV8cxxYKydHjn8J147VTXSf78="; + sha256 = "sha256-xbL/4CmDnygiL/u3Jsa6fAkO4YfklDzuFMsxSGy1Ra4="; }; - patches = [ - (fetchpatch { - # fix sos --help - url = "https://github.com/sosreport/sos/commit/ac4eb48fa35c13b99ada41540831412480babf8d.patch"; - sha256 = "sha256-6ZRoDDZN2KkHTXOKuHTAquB/HTIUppodmx83WxxYFP0="; - }) - ]; - nativeBuildInputs = [ gettext ]; propagatedBuildInputs = [ + magic pexpect + pyyaml + setuptools ]; # requires avocado-framework 94.0, latest version as of writing is 96.0