sosreport: 4.3 -> 4.4

This commit is contained in:
Minijackson 2022-12-08 14:34:28 +01:00
parent 8de1b140f5
commit 0df169a62a
No known key found for this signature in database
GPG key ID: FEA888C9F5D64F62

View file

@ -1,36 +1,33 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, fetchFromGitHub , fetchFromGitHub
, fetchpatch
, gettext , gettext
, magic
, pexpect , pexpect
, pyyaml
, setuptools
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "sosreport"; pname = "sosreport";
version = "4.3"; version = "4.4";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "sosreport"; owner = "sosreport";
repo = "sos"; repo = "sos";
rev = version; 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 = [ nativeBuildInputs = [
gettext gettext
]; ];
propagatedBuildInputs = [ propagatedBuildInputs = [
magic
pexpect pexpect
pyyaml
setuptools
]; ];
# requires avocado-framework 94.0, latest version as of writing is 96.0 # requires avocado-framework 94.0, latest version as of writing is 96.0