depot/third_party/nixpkgs/pkgs/development/python-modules/weblate-language-data/default.nix
Default email 472aeafc57 Project import generated by Copybara.
GitOrigin-RevId: c31898adf5a8ed202ce5bea9f347b1c6871f32d1
2024-10-04 18:56:33 +02:00

36 lines
725 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
setuptools,
translate-toolkit,
}:
buildPythonPackage rec {
pname = "weblate-language-data";
version = "2024.8";
pyproject = true;
src = fetchPypi {
pname = "weblate_language_data";
inherit version;
hash = "sha256-JwX3mDq6AbWorqc3nYlm1oySvzuu3IV6iBeS0ezx83U=";
};
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 ];
};
}