1{ 2 buildPythonPackage, 3 fetchFromGitHub, 4 lib, 5 pytestCheckHook, 6 setuptools, 7}: 8 9buildPythonPackage rec { 10 pname = "python-iso639"; 11 version = "2025.2.18"; 12 pyproject = true; 13 14 src = fetchFromGitHub { 15 owner = "jacksonllee"; 16 repo = "iso639"; 17 tag = "v${version}"; 18 hash = "sha256-CVLyeXA0FXLCthNO3SLgTvxi4sJI5fPhuqEbnDb4L/s="; 19 }; 20 21 build-system = [ setuptools ]; 22 23 pythonImportsCheck = [ "iso639" ]; 24 25 nativeCheckInputs = [ 26 pytestCheckHook 27 ]; 28 29 meta = { 30 changelog = "https://github.com/jacksonllee/iso639/blob/${src.tag}/CHANGELOG.md"; 31 description = "ISO 639 language codes, names, and other associated information"; 32 homepage = "https://github.com/jacksonllee/iso639"; 33 license = lib.licenses.asl20; 34 maintainers = with lib.maintainers; [ dotlambda ]; 35 }; 36}