1 { lib, python3, fetchPypi, git, mercurial }:
3 python3.pkgs.buildPythonApplication rec {
9 sha256 = "b6a0ddb78db7e00ae7ffe895bf8ef97f91e6310dfc1c4721896bdfd044b1cb03";
13 substituteInPlace setup.py \
14 --replace "if any(arg.startswith(\"bdist\") for arg in sys.argv):" ""\
15 --replace "import lib3to6" ""\
16 --replace "package_dir = lib3to6.fix(package_dir)" ""
19 propagatedBuildInputs = with python3.pkgs; [ pathlib2 click toml lexid colorama setuptools ];
21 nativeCheckInputs = [ python3.pkgs.pytestCheckHook git mercurial ];
24 # fails due to more aggressive setuptools version specifier validation
25 "test_parse_default_pattern"
29 description = "Bump version numbers in project files";
30 homepage = "https://pypi.org/project/bumpver/";
31 license = licenses.mit;
32 maintainers = with maintainers; [ kfollesdal ];
33 mainProgram = "bumpver";