blob: 967da8ae707d5b8e995b6a6423933ee0194f8412 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
setuptools-scm,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "uuid6";
version = "2025.0.1";
pyproject = true;
src = fetchFromGitHub {
owner = "oittaa";
repo = "uuid6-python";
tag = version;
hash = "sha256-E8oBbD52zTDcpRCBsJXfSgpF7FPNSVB43uxvsA62XHU=";
};
build-system = [
setuptools
setuptools-scm
];
nativeCheckInputs = [
pytestCheckHook
];
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;
maintainers = with lib.maintainers; [ aleksana ];
};
}
|