python3Packages.pipenv-poetry-migrate: init at 0.2.0
Signed-off-by: florian on nixos (Florian Brandes) <florian.brandes@posteo.de>
This commit is contained in:
parent
229f9b8bd9
commit
7947d48463
2 changed files with 44 additions and 0 deletions
|
@ -0,0 +1,42 @@
|
||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, pytestCheckHook
|
||||||
|
, poetry
|
||||||
|
, rich
|
||||||
|
, setuptools
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
version = "0.2.0";
|
||||||
|
pname = "pipenv-poetry-migrate";
|
||||||
|
format = "pyproject";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "yhino";
|
||||||
|
repo = "pipenv-poetry-migrate";
|
||||||
|
rev = "v${version}";
|
||||||
|
hash = "sha256-2/e6uGwpUvzxXlz+51gUriE054bgNeJNyLDCIyiGflM=";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
poetry
|
||||||
|
rich
|
||||||
|
setuptools
|
||||||
|
];
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace pyproject.toml --replace 'rich = "^9.6.1"' 'rich = ">9"'
|
||||||
|
'';
|
||||||
|
|
||||||
|
checkInputs = [
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "This is simple migration script, migrate pipenv to poetry";
|
||||||
|
homepage = "https://github.com/yhino/pipenv-poetry-migrate";
|
||||||
|
license = licenses.asl20;
|
||||||
|
maintainers = with maintainers; [ gador ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -6084,6 +6084,8 @@ in {
|
||||||
|
|
||||||
pipdate = callPackage ../development/python-modules/pipdate { };
|
pipdate = callPackage ../development/python-modules/pipdate { };
|
||||||
|
|
||||||
|
pipenv-poetry-migrate = callPackage ../development/python-modules/pipenv-poetry-migrate { };
|
||||||
|
|
||||||
pip-tools = callPackage ../development/python-modules/pip-tools { };
|
pip-tools = callPackage ../development/python-modules/pip-tools { };
|
||||||
|
|
||||||
pipx = callPackage ../development/python-modules/pipx { };
|
pipx = callPackage ../development/python-modules/pipx { };
|
||||||
|
|
Loading…
Reference in a new issue