at 25.11-pre 50 lines 979 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 setuptools, 6 fqdn, 7 jsonschema, 8 rfc3987, 9 strict-rfc3339, 10 fedora-messaging, 11 pytestCheckHook, 12}: 13 14buildPythonPackage rec { 15 pname = "weblate-schemas"; 16 version = "2025.1"; 17 18 pyproject = true; 19 20 src = fetchPypi { 21 pname = "weblate_schemas"; 22 inherit version; 23 hash = "sha256-R2G5s51XmZfc3qewNGv5D9K03pvCFeod4RH4VtY9cAA="; 24 }; 25 26 build-system = [ setuptools ]; 27 28 dependencies = [ 29 fqdn 30 jsonschema 31 rfc3987 32 strict-rfc3339 33 ]; 34 35 nativeCheckInputs = [ 36 fedora-messaging 37 pytestCheckHook 38 ] ++ jsonschema.optional-dependencies.format; 39 40 pythonImportsCheck = [ "weblate_schemas" ]; 41 42 meta = with lib; { 43 description = "Schemas used by Weblate"; 44 homepage = "https://github.com/WeblateOrg/weblate_schemas"; 45 changelog = "https://github.com/WeblateOrg/weblate_schemas/blob/${version}/CHANGES.rst"; 46 license = licenses.mit; 47 maintainers = with maintainers; [ erictapen ]; 48 }; 49 50}