159e378cbb
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
36 lines
725 B
Nix
36 lines
725 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
setuptools,
|
|
translate-toolkit,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "weblate-language-data";
|
|
version = "2024.6";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
pname = "weblate_language_data";
|
|
inherit version;
|
|
hash = "sha256-FGLrjptIqMeKAV/O2H6ZcP+uGcr1ghqIxAHsYnOpVxg=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [ translate-toolkit ];
|
|
|
|
# No tests
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "weblate_language_data" ];
|
|
|
|
meta = with lib; {
|
|
description = "Language definitions used by Weblate";
|
|
homepage = "https://github.com/WeblateOrg/language-data";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ erictapen ];
|
|
};
|
|
|
|
}
|