Files
nixpkgs/pkgs/by-name/so/sosreport/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

48 lines
919 B
Nix

{
lib,
python3Packages,
fetchFromGitHub,
gettext,
}:
python3Packages.buildPythonPackage rec {
pname = "sosreport";
version = "4.9.1";
pyproject = true;
src = fetchFromGitHub {
owner = "sosreport";
repo = "sos";
tag = version;
hash = "sha256-97S8b4PfjUN8uzvp01PGCLs4J3CbwpJsgBKtY8kI0HE=";
};
build-system = [ python3Packages.setuptools ];
nativeBuildInputs = [
gettext
];
dependencies = with python3Packages; [
packaging
pexpect
pyyaml
];
# requires avocado-framework 94.0, latest version as of writing is 96.0
doCheck = false;
preCheck = ''
export PYTHONPATH=$PWD/tests:$PYTHONPATH
'';
pythonImportsCheck = [ "sos" ];
meta = {
description = "Unified tool for collecting system logs and other debug information";
homepage = "https://github.com/sosreport/sos";
license = lib.licenses.gpl2Plus;
maintainers = [ ];
};
}