Something went wrong. Try again.
lol
Something went wrong. Try again.
1.0 kB · 51 lines
Nix
at master
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152{ lib, buildPythonPackage, marisa-trie, fetchPypi, pytestCheckHook, language-data, setuptools, setuptools-scm,}:
buildPythonPackage rec { pname = "langcodes"; version = "3.5.1"; pyproject = true;
src = fetchPypi { inherit pname version; hash = "sha256-QL/zFeAbAdEcKuOSjdT1y9dN04+b2RLBK5o2BsFD9zE="; };
build-system = [ setuptools setuptools-scm ];
dependencies = [ language-data marisa-trie setuptools # pkg_resources import in language_data/util.py ];
nativeCheckInputs = [ pytestCheckHook ];
disabledTests = [ # AssertionError: assert 'Unknown language [aqk]' == 'Aninka' "test_updated_iana" # doctest mismatches "speaking_population" "writing_population" "README.md" ];
pythonImportsCheck = [ "langcodes" ];
meta = { description = "Python toolkit for working with and comparing the standardized codes for languages"; homepage = "https://github.com/georgkrause/langcodes"; license = lib.licenses.mit; };}