push sheeet
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

This commit is contained in:
Dark Steveneq
2025-10-09 14:15:47 +02:00
commit 646b892680
49168 changed files with 5897842 additions and 0 deletions

View File

@@ -0,0 +1,79 @@
{
lib,
buildPythonPackage,
blessed,
fetchFromGitHub,
invoke,
pythonOlder,
releases,
semantic-version,
tabulate,
tqdm,
twine,
pytestCheckHook,
pytest-relaxed,
pytest-mock,
icecream,
pip,
}:
buildPythonPackage rec {
pname = "invocations";
version = "3.3.0";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "pyinvoke";
repo = "invocations";
tag = version;
hash = "sha256-JnhdcxhBNsYgDMcljtGKjOT1agujlao/66QifGuh6I0=";
};
patches = [ ./replace-blessings-with-blessed.patch ];
postPatch = ''
substituteInPlace setup.py \
--replace "semantic_version>=2.4,<2.7" "semantic_version"
'';
propagatedBuildInputs = [
blessed
invoke
releases
semantic-version
tabulate
tqdm
twine
];
nativeCheckInputs = [
pytestCheckHook
pytest-relaxed
pytest-mock
icecream
pip
];
pythonImportsCheck = [ "invocations" ];
disabledTests = [
# invoke.exceptions.UnexpectedExit
"autodoc_"
# ValueError: Call either Version('1.2.3') or Version(major=1, ...)
"component_state_enums_contain_human_readable_values"
"load_version_"
"prepare_"
"status_"
];
meta = with lib; {
description = "Common/best-practice Invoke tasks and collections";
homepage = "https://invocations.readthedocs.io/";
changelog = "https://github.com/pyinvoke/invocations/blob/${version}/docs/changelog.rst";
license = licenses.bsd2;
maintainers = with maintainers; [ samuela ];
};
}