at master 846 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools, 6 setuptools-scm, 7 pytestCheckHook, 8}: 9buildPythonPackage rec { 10 pname = "uuid6"; 11 version = "2025.0.1"; 12 pyproject = true; 13 14 src = fetchFromGitHub { 15 owner = "oittaa"; 16 repo = "uuid6-python"; 17 tag = version; 18 hash = "sha256-E8oBbD52zTDcpRCBsJXfSgpF7FPNSVB43uxvsA62XHU="; 19 }; 20 21 build-system = [ 22 setuptools 23 setuptools-scm 24 ]; 25 26 nativeCheckInputs = [ 27 pytestCheckHook 28 ]; 29 30 pythonImportsCheck = [ 31 "uuid6" 32 ]; 33 34 meta = { 35 changelog = "https://github.com/oittaa/uuid6-python/releases/tag/${src.tag}"; 36 description = "New time-based UUID formats which are suited for use as a database key"; 37 homepage = "https://github.com/oittaa/uuid6-python"; 38 license = lib.licenses.mit; 39 maintainers = with lib.maintainers; [ aleksana ]; 40 }; 41}