python3Packages.uuid6: 2024.7.10 -> 2025.0.1 (#433248)

This commit is contained in:
dotlambda
2025-08-12 18:37:46 -07:00
committed by GitHub
@@ -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;