Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pytestCheckHook, 6 pythonOlder, 7 poetry-core, 8 tomlkit, 9 typer, 10 setuptools, 11}: 12 13buildPythonPackage rec { 14 pname = "pipenv-poetry-migrate"; 15 version = "0.5.6"; 16 format = "pyproject"; 17 18 disabled = pythonOlder "3.8"; 19 20 src = fetchFromGitHub { 21 owner = "yhino"; 22 repo = "pipenv-poetry-migrate"; 23 rev = "refs/tags/v${version}"; 24 hash = "sha256-+OkfuIwbDx6SN5lawDJZYBrjHn9rsT/FT+GQ2MOAtg0="; 25 }; 26 27 nativeBuildInputs = [ poetry-core ]; 28 29 propagatedBuildInputs = [ 30 setuptools # for pkg_resources 31 tomlkit 32 typer 33 ]; 34 35 nativeCheckInputs = [ pytestCheckHook ]; 36 37 meta = with lib; { 38 description = "This is simple migration script, migrate pipenv to poetry"; 39 mainProgram = "pipenv-poetry-migrate"; 40 homepage = "https://github.com/yhino/pipenv-poetry-migrate"; 41 changelog = "https://github.com/yhino/pipenv-poetry-migrate/blob/v${version}/CHANGELOG.md"; 42 license = licenses.asl20; 43 maintainers = with maintainers; [ gador ]; 44 }; 45}