From db53439c2ef9f756fc981ea6bc5fcb820a189031 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Tue, 5 Aug 2025 04:35:04 +0200 Subject: [PATCH] python3Packages.awesomeversion: 24.6.0 -> 25.8.0 https://github.com/ludeeus/awesomeversion/releases/tag/25.8.0 This commit was automatically generated using update-python-libraries. --- .../python-modules/awesomeversion/default.nix | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/awesomeversion/default.nix b/pkgs/development/python-modules/awesomeversion/default.nix index 001ddf58a9a1..70e9f56b430e 100644 --- a/pkgs/development/python-modules/awesomeversion/default.nix +++ b/pkgs/development/python-modules/awesomeversion/default.nix @@ -3,14 +3,15 @@ buildPythonPackage, fetchFromGitHub, pythonOlder, - poetry-core, + hatchling, + pytest-codspeed, pytest-snapshot, pytestCheckHook, }: buildPythonPackage rec { pname = "awesomeversion"; - version = "24.6.0"; + version = "25.8.0"; pyproject = true; disabled = pythonOlder "3.8"; @@ -19,7 +20,7 @@ buildPythonPackage rec { owner = "ludeeus"; repo = "awesomeversion"; tag = version; - hash = "sha256-lpG42Be0MVinWX5MyDvBPdoZFx66l6tpUxpAJRqEf88="; + hash = "sha256-2CEuJagUkYwtjzpQLYLlz+V5e2feEU6di3wI0+uWuy4="; }; postPatch = '' @@ -28,11 +29,12 @@ buildPythonPackage rec { --replace-fail 'version = "0"' 'version = "${version}"' ''; - nativeBuildInputs = [ poetry-core ]; + nativeBuildInputs = [ hatchling ]; pythonImportsCheck = [ "awesomeversion" ]; nativeCheckInputs = [ + pytest-codspeed pytest-snapshot pytestCheckHook ]; @@ -40,7 +42,7 @@ buildPythonPackage rec { meta = with lib; { description = "Python module to deal with versions"; homepage = "https://github.com/ludeeus/awesomeversion"; - changelog = "https://github.com/ludeeus/awesomeversion/releases/tag/${version}"; + changelog = "https://github.com/ludeeus/awesomeversion/releases/tag/${src.tag}"; license = with licenses; [ mit ]; maintainers = with maintainers; [ fab ]; };