159e378cbb
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
46 lines
889 B
Nix
46 lines
889 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
setuptools,
|
|
fqdn,
|
|
jsonschema,
|
|
rfc3987,
|
|
strict-rfc3339,
|
|
pytestCheckHook,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "weblate-schemas";
|
|
version = "2024.1";
|
|
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
pname = "weblate_schemas";
|
|
inherit version;
|
|
hash = "sha256-nYPLD3VDO1Z97HI79J6Yjj3bWp1xKB79FWPCW146iz4=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
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";
|
|
changelog = "https://github.com/WeblateOrg/weblate_schemas/blob/${version}/CHANGES.rst";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ erictapen ];
|
|
};
|
|
|
|
}
|