3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #198650 from gador/pipenv-poetry-migrate-0.2.1

This commit is contained in:
Sandro 2022-11-16 00:15:44 +01:00 committed by GitHub
commit a5d744586c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 = [