Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / pipenv-poetry-migrate / default.nix
blob9f04970f9680d2c4d93ed4de7b7f20ac616b504d
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , pytestCheckHook
5 , pythonOlder
6 , poetry-core
7 , tomlkit
8 , typer
9 , setuptools
12 buildPythonPackage rec {
13   pname = "pipenv-poetry-migrate";
14   version = "0.5.5";
15   format = "pyproject";
17   disabled = pythonOlder "3.8";
19   src = fetchFromGitHub {
20     owner = "yhino";
21     repo = "pipenv-poetry-migrate";
22     rev = "refs/tags/v${version}";
23     hash = "sha256-6K8rTfASpK7OvBwUy40X6xzgpfWL7lIJvpfRiGfBK6U=";
24   };
26   nativeBuildInputs = [
27     poetry-core
28   ];
30   propagatedBuildInputs = [
31     setuptools # for pkg_resources
32     tomlkit
33     typer
34   ];
36   nativeCheckInputs = [
37     pytestCheckHook
38   ];
40   meta = with lib; {
41     description = "This is simple migration script, migrate pipenv to poetry";
42     mainProgram = "pipenv-poetry-migrate";
43     homepage = "https://github.com/yhino/pipenv-poetry-migrate";
44     changelog = "https://github.com/yhino/pipenv-poetry-migrate/blob/v${version}/CHANGELOG.md";
45     license = licenses.asl20;
46     maintainers = with maintainers; [ gador ];
47   };