From be8d3f7142008b1eb266ad33f03c69f5ae2ead0d Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 20 Dec 2022 09:18:22 +0100 Subject: [PATCH] python310Packages.ansible-later: 2.0.23 -> 3.0.1 Diff: https://github.com/thegeeklab/ansible-later/compare/refs/tags/v2.0.23...v3.0.1 Changelog: https://github.com/thegeeklab/ansible-later/releases/tag/v3.0.1 --- .../python-modules/ansible-later/default.nix | 25 ++++++++++++------- 1 file changed, 16 insertions(+), 9 deletions(-) diff --git a/pkgs/development/python-modules/ansible-later/default.nix b/pkgs/development/python-modules/ansible-later/default.nix index cae9dd1cb6d6..7c57bdfe983c 100644 --- a/pkgs/development/python-modules/ansible-later/default.nix +++ b/pkgs/development/python-modules/ansible-later/default.nix @@ -14,6 +14,7 @@ , pytest-mock , python-json-logger , pytestCheckHook +, pythonRelaxDepsHook , pythonOlder , pyyaml , toolz @@ -23,7 +24,7 @@ buildPythonPackage rec { pname = "ansible-later"; - version = "2.0.23"; + version = "3.0.1"; format = "pyproject"; disabled = pythonOlder "3.8"; @@ -32,23 +33,29 @@ buildPythonPackage rec { owner = "thegeeklab"; repo = pname; rev = "refs/tags/v${version}"; - hash = "sha256-FQnyWC7d9h8Ya2BlaTGTrNXkHtJJLdeNL7qXP7scLFA="; + hash = "sha256-pYNL9G4A45IE6hZcihPICYfOzd5hH6Xqy0EYyBajbxQ="; }; postPatch = '' substituteInPlace pyproject.toml \ --replace 'version = "0.0.0"' 'version = "${version}"' \ - --replace " --cov=ansiblelater --cov-report=xml:coverage.xml --cov-report=term --cov-append --no-cov-on-fail" "" \ - --replace 'PyYAML = "6.0"' 'PyYAML = "*"' \ - --replace 'unidiff = "0.7.3"' 'unidiff = "*"' \ - --replace 'jsonschema = "' 'jsonschema = "^' \ - --replace 'python-json-logger = "' 'python-json-logger = "^' \ - --replace 'toolz = "0.11.2' 'toolz = "*' \ - --replace 'yamllint = "' 'yamllint = "^' + --replace " --cov=ansiblelater --cov-report=xml:coverage.xml --cov-report=term --cov-append --no-cov-on-fail" "" ''; + pythonRelaxDeps = [ + "flake8" + "jsonschema" + "pathspec" + "python-json-logger" + "pyyaml" + "toolz" + "unidiff" + "yamllint" + ]; + nativeBuildInputs = [ poetry-core + pythonRelaxDepsHook ]; propagatedBuildInputs = [