2022-02-20 05:27:41 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
|
|
|
, pytestCheckHook
|
2022-11-21 17:40:18 +00:00
|
|
|
, pythonOlder
|
2022-12-02 08:20:57 +00:00
|
|
|
, poetry-core
|
|
|
|
, tomlkit
|
2022-11-21 17:40:18 +00:00
|
|
|
, typer
|
2022-02-20 05:27:41 +00:00
|
|
|
, setuptools
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pipenv-poetry-migrate";
|
2024-04-21 15:54:59 +00:00
|
|
|
version = "0.5.5";
|
2022-02-20 05:27:41 +00:00
|
|
|
format = "pyproject";
|
2023-03-04 12:14:45 +00:00
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
disabled = pythonOlder "3.8";
|
2022-02-20 05:27:41 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "yhino";
|
|
|
|
repo = "pipenv-poetry-migrate";
|
2022-11-21 17:40:18 +00:00
|
|
|
rev = "refs/tags/v${version}";
|
2024-04-21 15:54:59 +00:00
|
|
|
hash = "sha256-6K8rTfASpK7OvBwUy40X6xzgpfWL7lIJvpfRiGfBK6U=";
|
2022-02-20 05:27:41 +00:00
|
|
|
};
|
|
|
|
|
2022-12-02 08:20:57 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
poetry-core
|
2022-11-21 17:40:18 +00:00
|
|
|
];
|
|
|
|
|
2022-02-20 05:27:41 +00:00
|
|
|
propagatedBuildInputs = [
|
2022-12-02 08:20:57 +00:00
|
|
|
setuptools # for pkg_resources
|
|
|
|
tomlkit
|
2022-11-21 17:40:18 +00:00
|
|
|
typer
|
2022-02-20 05:27:41 +00:00
|
|
|
];
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [
|
2022-02-20 05:27:41 +00:00
|
|
|
pytestCheckHook
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "This is simple migration script, migrate pipenv to poetry";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "pipenv-poetry-migrate";
|
2022-02-20 05:27:41 +00:00
|
|
|
homepage = "https://github.com/yhino/pipenv-poetry-migrate";
|
2023-03-04 12:14:45 +00:00
|
|
|
changelog = "https://github.com/yhino/pipenv-poetry-migrate/blob/v${version}/CHANGELOG.md";
|
2022-02-20 05:27:41 +00:00
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ gador ];
|
|
|
|
};
|
|
|
|
}
|