38 lines
953 B
Nix
38 lines
953 B
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
python3Packages,
|
|
}:
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
pname = "pipenv-poetry-migrate";
|
|
version = "0.6.2";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "yhino";
|
|
repo = "pipenv-poetry-migrate";
|
|
tag = "v${version}";
|
|
hash = "sha256-kx03w02XUEMoPA8KKvyBGS81IHP3KFjKCVhAoyQ9j+I=";
|
|
};
|
|
|
|
build-system = [ python3Packages.poetry-core ];
|
|
|
|
dependencies = with python3Packages; [
|
|
setuptools # for pkg_resources
|
|
tomlkit
|
|
typer
|
|
];
|
|
|
|
nativeCheckInputs = [ python3Packages.pytestCheckHook ];
|
|
|
|
meta = {
|
|
description = "This is simple migration script, migrate pipenv to poetry";
|
|
mainProgram = "pipenv-poetry-migrate";
|
|
homepage = "https://github.com/yhino/pipenv-poetry-migrate";
|
|
changelog = "https://github.com/yhino/pipenv-poetry-migrate/blob/${src.tag}/CHANGELOG.md";
|
|
license = lib.licenses.asl20;
|
|
maintainers = with lib.maintainers; [ gador ];
|
|
};
|
|
}
|