Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
929 B · 45 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546{ lib, buildPythonPackage, fetchFromGitHub, packaging, pytestCheckHook, pythonOlder, setuptools, typing-extensions,}:
buildPythonPackage rec { pname = "newversion"; version = "3.1.0"; pyproject = true;
disabled = pythonOlder "3.9";
src = fetchFromGitHub { owner = "vemel"; repo = "newversion"; tag = version; hash = "sha256-R26yZQnQN/+e8XD3YKl+3bJKGnZaVzOVoTlGHOyratg="; };
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [ packaging typing-extensions ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "newversion" ];
meta = with lib; { description = "PEP 440 version manager"; homepage = "https://github.com/vemel/newversion"; changelog = "https://github.com/vemel/newversion/releases/tag/${version}"; license = licenses.mit; maintainers = with maintainers; [ fab ]; mainProgram = "newversion"; };}