From e9384700049b04cfcd79c3e890bf45111d3a917c Mon Sep 17 00:00:00 2001 From: Florian Brandes Date: Sun, 30 Oct 2022 14:26:04 +0100 Subject: [PATCH] python3Packages.pipenv-poetry-migrate: 0.2.0 -> 0.2.1 Changelog: https://github.com/yhino/pipenv-poetry-migrate/releases/tag/v0.2.1 Signed-off-by: Florian Brandes --- .../pipenv-poetry-migrate/default.nix | 21 ++++++++++++------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/pkgs/development/python-modules/pipenv-poetry-migrate/default.nix b/pkgs/development/python-modules/pipenv-poetry-migrate/default.nix index 6f359d3bc9a7..7cbbb859e0ae 100644 --- a/pkgs/development/python-modules/pipenv-poetry-migrate/default.nix +++ b/pkgs/development/python-modules/pipenv-poetry-migrate/default.nix @@ -2,31 +2,36 @@ , buildPythonPackage , fetchFromGitHub , pytestCheckHook +, pythonOlder , poetry -, rich +, typer , setuptools }: buildPythonPackage rec { - version = "0.2.0"; + version = "0.2.1"; pname = "pipenv-poetry-migrate"; format = "pyproject"; + disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "yhino"; repo = "pipenv-poetry-migrate"; - rev = "v${version}"; - hash = "sha256-2/e6uGwpUvzxXlz+51gUriE054bgNeJNyLDCIyiGflM="; + rev = "refs/tags/v${version}"; + hash = "sha256-aP8bzWFUzAZrEsz8pYL2y5c7GaUjWG5GA+cc4/tGPZk="; }; - propagatedBuildInputs = [ - poetry - rich + nativeBuildInputs = [ setuptools ]; + propagatedBuildInputs = [ + poetry + typer + ]; + postPatch = '' - substituteInPlace pyproject.toml --replace 'rich = "^9.6.1"' 'rich = ">9"' + substituteInPlace pyproject.toml --replace 'typer = "^0.4.0"' 'typer = ">=0.4"' ''; checkInputs = [