nixpkgs/pkgs/development/python-modules/python-iso639/default.nix
2026-04-25 12:21:40 +02:00

36 lines
844 B
Nix

{
buildPythonPackage,
fetchFromGitHub,
lib,
pytestCheckHook,
setuptools,
}:
buildPythonPackage (finalAttrs: {
pname = "python-iso639";
version = "2026.4.20";
pyproject = true;
src = fetchFromGitHub {
owner = "jacksonllee";
repo = "iso639";
tag = "v${finalAttrs.version}";
hash = "sha256-aXckFcWG8zcP9GELTT5eHnQzklAYG70LyX34fhVGdTo=";
};
build-system = [ setuptools ];
pythonImportsCheck = [ "iso639" ];
nativeCheckInputs = [
pytestCheckHook
];
meta = {
changelog = "https://github.com/jacksonllee/iso639/blob/${finalAttrs.src.tag}/CHANGELOG.md";
description = "ISO 639 language codes, names, and other associated information";
homepage = "https://github.com/jacksonllee/iso639";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ dotlambda ];
};
})