From 6983cbe9c8888888204d27ff71f34b2bb03f0957 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 16 Nov 2024 10:56:02 +0100 Subject: [PATCH] python312Packages.newversion: 2.0.0 -> 3.1.0 Diff: https://github.com/vemel/newversion/compare/refs/tags/2.0.0...3.1.0 Changelog: https://github.com/vemel/newversion/releases/tag/3.1.0 --- .../python-modules/newversion/default.nix | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/pkgs/development/python-modules/newversion/default.nix b/pkgs/development/python-modules/newversion/default.nix index 5017d68ebe4d..c3baffd2d2cc 100644 --- a/pkgs/development/python-modules/newversion/default.nix +++ b/pkgs/development/python-modules/newversion/default.nix @@ -3,28 +3,32 @@ buildPythonPackage, fetchFromGitHub, packaging, - poetry-core, pytestCheckHook, pythonOlder, + setuptools, + typing-extensions, }: buildPythonPackage rec { pname = "newversion"; - version = "2.0.0"; - format = "pyproject"; + version = "3.1.0"; + pyproject = true; - disabled = pythonOlder "3.8"; + disabled = pythonOlder "3.9"; src = fetchFromGitHub { owner = "vemel"; repo = "newversion"; rev = "refs/tags/${version}"; - hash = "sha256-v9hfk2/hBkWtOobQdaYXNOZTTcEqnMV6JYqtjjoidOs="; + hash = "sha256-R26yZQnQN/+e8XD3YKl+3bJKGnZaVzOVoTlGHOyratg="; }; - nativeBuildInputs = [ poetry-core ]; + nativeBuildInputs = [ setuptools ]; - propagatedBuildInputs = [ packaging ]; + propagatedBuildInputs = [ + packaging + typing-extensions + ]; nativeCheckInputs = [ pytestCheckHook ]; @@ -32,10 +36,10 @@ buildPythonPackage rec { meta = with lib; { description = "PEP 440 version manager"; - mainProgram = "newversion"; homepage = "https://github.com/vemel/newversion"; changelog = "https://github.com/vemel/newversion/releases/tag/${version}"; - license = with licenses; [ mit ]; + license = licenses.mit; maintainers = with maintainers; [ fab ]; + mainProgram = "newversion"; }; } -- 2.11.4.GIT