1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 hatch-vcs, 6 hatchling, 7 importlib-resources, 8 pytestCheckHook, 9 pythonOlder, 10 referencing, 11}: 12 13buildPythonPackage rec { 14 pname = "jsonschema-specifications"; 15 version = "2024.10.1"; 16 format = "pyproject"; 17 18 disabled = pythonOlder "3.8"; 19 20 src = fetchPypi { 21 pname = "jsonschema_specifications"; 22 inherit version; 23 hash = "sha256-Dzi4NjmVjOEVLQKn8GKQLEHI/SDVWLDDQ0QpLUF64nI="; 24 }; 25 26 nativeBuildInputs = [ 27 hatch-vcs 28 hatchling 29 ]; 30 31 propagatedBuildInputs = [ 32 referencing 33 ] ++ lib.optionals (pythonOlder "3.9") [ importlib-resources ]; 34 35 nativeCheckInputs = [ pytestCheckHook ]; 36 37 pythonImportsCheck = [ "jsonschema_specifications" ]; 38 39 meta = with lib; { 40 description = "Support files exposing JSON from the JSON Schema specifications"; 41 homepage = "https://github.com/python-jsonschema/jsonschema-specifications"; 42 license = licenses.mit; 43 maintainers = with maintainers; [ SuperSandro2000 ]; 44 }; 45}