20 buildPythonPackage rec {
21 pname = "invocations";
23 format = "setuptools";
25 disabled = pythonOlder "3.6";
27 src = fetchFromGitHub {
30 rev = "refs/tags/${version}";
31 hash = "sha256-JnhdcxhBNsYgDMcljtGKjOT1agujlao/66QifGuh6I0=";
34 patches = [ ./replace-blessings-with-blessed.patch ];
37 substituteInPlace setup.py \
38 --replace "semantic_version>=2.4,<2.7" "semantic_version"
41 propagatedBuildInputs = [
59 pythonImportsCheck = [ "invocations" ];
62 # invoke.exceptions.UnexpectedExit
65 # ValueError: Call either Version('1.2.3') or Version(major=1, ...)
66 "component_state_enums_contain_human_readable_values"
73 description = "Common/best-practice Invoke tasks and collections";
74 homepage = "https://invocations.readthedocs.io/";
75 changelog = "https://github.com/pyinvoke/invocations/blob/${version}/docs/changelog.rst";
76 license = licenses.bsd2;
77 maintainers = with maintainers; [ samuela ];