From a53b1fd17a9341181c1155179209849c916acaf1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Tue, 12 Aug 2025 18:18:39 -0700 Subject: [PATCH] python3Packages.uuid6: 2024.7.10 -> 2025.0.1 Diff: https://github.com/oittaa/uuid6-python/compare/refs/tags/2024.7.10...refs/tags/2025.0.1 Changelog: https://github.com/oittaa/uuid6-python/releases/tag/2025.0.1 --- .../python-modules/uuid6/default.nix | 26 +++++++------------ 1 file changed, 10 insertions(+), 16 deletions(-) diff --git a/pkgs/development/python-modules/uuid6/default.nix b/pkgs/development/python-modules/uuid6/default.nix index 256816442b56..967da8ae707d 100644 --- a/pkgs/development/python-modules/uuid6/default.nix +++ b/pkgs/development/python-modules/uuid6/default.nix @@ -1,44 +1,38 @@ { lib, buildPythonPackage, - fetchPypi, + fetchFromGitHub, setuptools, + setuptools-scm, pytestCheckHook, }: buildPythonPackage rec { pname = "uuid6"; - version = "2024.7.10"; + version = "2025.0.1"; pyproject = true; - src = fetchPypi { - inherit pname version; - hash = "sha256-LSnX9j9ZPKruoODQ3QrYEpycZjsp4ZvfiC6GS+3xj7A="; + src = fetchFromGitHub { + owner = "oittaa"; + repo = "uuid6-python"; + tag = version; + hash = "sha256-E8oBbD52zTDcpRCBsJXfSgpF7FPNSVB43uxvsA62XHU="; }; - # https://github.com/oittaa/uuid6-python/blob/e647035428d984452b9906b75bb007198533dfb1/setup.py#L12-L19 - env.GITHUB_REF = "refs/tags/${version}"; - build-system = [ setuptools + setuptools-scm ]; nativeCheckInputs = [ pytestCheckHook ]; - enabledTestPaths = [ - "test/" - ]; - - disabledTestPaths = [ - "test/test_uuid6.py" - ]; - pythonImportsCheck = [ "uuid6" ]; meta = { + changelog = "https://github.com/oittaa/uuid6-python/releases/tag/${src.tag}"; description = "New time-based UUID formats which are suited for use as a database key"; homepage = "https://github.com/oittaa/uuid6-python"; license = lib.licenses.mit;