12 buildPythonPackage rec {
17 disabled = pythonOlder "3.9";
19 src = fetchFromGitHub {
22 rev = "refs/tags/${version}";
23 hash = "sha256-R26yZQnQN/+e8XD3YKl+3bJKGnZaVzOVoTlGHOyratg=";
26 nativeBuildInputs = [ setuptools ];
28 propagatedBuildInputs = [
33 nativeCheckInputs = [ pytestCheckHook ];
35 pythonImportsCheck = [ "newversion" ];
38 description = "PEP 440 version manager";
39 homepage = "https://github.com/vemel/newversion";
40 changelog = "https://github.com/vemel/newversion/releases/tag/${version}";
41 license = licenses.mit;
42 maintainers = with maintainers; [ fab ];
43 mainProgram = "newversion";