python3Packages.weblate-schemas: init at 2024.1

This commit is contained in:
Kerstin Humm 2024-07-22 17:08:22 +02:00 committed by Valentin Gagarin
parent 31ffc98804
commit 5941b2d362
2 changed files with 42 additions and 0 deletions

View File

@ -0,0 +1,40 @@
{
lib,
buildPythonPackage,
fetchPypi,
fqdn,
jsonschema,
rfc3987,
strict-rfc3339,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "weblate-schemas";
version = "2024.1";
src = fetchPypi {
pname = "weblate_schemas";
inherit version;
hash = "sha256-nYPLD3VDO1Z97HI79J6Yjj3bWp1xKB79FWPCW146iz4=";
};
dependencies = [
fqdn
jsonschema
rfc3987
strict-rfc3339
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "weblate_schemas" ];
meta = with lib; {
description = "Schemas used by Weblate";
homepage = "https://github.com/WeblateOrg/weblate_schemas";
license = licenses.mit;
maintainers = with maintainers; [ erictapen ];
};
}

View File

@ -17381,6 +17381,8 @@ self: super: with self; {
weblate-language-data = callPackage ../development/python-modules/weblate-language-data { };
weblate-schemas = callPackage ../development/python-modules/weblate-schemas { };
webob = callPackage ../development/python-modules/webob { };
webrtc-noise-gain = callPackage ../development/python-modules/webrtc-noise-gain { };