Merge pull request #229351 from fabaff/invocations-bump

python310Packages.invocations: 3.0.1 -> 3.0.2
This commit is contained in:
Fabian Affolter 2023-05-02 07:40:45 +02:00 committed by GitHub
commit 86341c06d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,6 +3,7 @@
, blessings
, fetchFromGitHub
, invoke
, pythonOlder
, releases
, semantic-version
, tabulate
@ -12,20 +13,21 @@
buildPythonPackage rec {
pname = "invocations";
version = "3.0.1";
version = "3.0.2";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "pyinvoke";
repo = pname;
rev = version;
hash = "sha256-G0sl2DCROxlTnW3lWKeGw4qDmnaeRC4xYf27d6YePjE=";
rev = "refs/tags/${version}";
hash = "sha256-sXMxTOi0iCz7Zq0lXkpproUtkId5p/GCqP1TvgqYlME=";
};
postPatch = ''
substituteInPlace setup.py \
--replace "semantic_version>=2.4,<2.7" "semantic_version" \
--replace "tabulate==0.7.5" "tabulate"
--replace "semantic_version>=2.4,<2.7" "semantic_version"
'';
propagatedBuildInputs = [
@ -48,6 +50,7 @@ buildPythonPackage rec {
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 ];
};