Something went wrong. Try again.
lol
Something went wrong. Try again.
974 B · 37 lines
Nix
at master
1234567891011121314151617181920212223242526272829303132333435363738{ lib, buildPythonPackage, setuptools, fetchPypi, pytestCheckHook,}:
buildPythonPackage (finalAttrs: { pname = "mediawiki-langcodes"; version = "0.2.21"; pyproject = true;
# Using fetchPypi instead of fetching from source for technical reason. # It required Internet and Python scripts to build the database. src = fetchPypi { pname = "mediawiki_langcodes"; inherit (finalAttrs) version; hash = "sha256-WUzxMJu2PYuuxEUlLQpuVvP1F3h6+NVgH8g4ohbjenI="; };
build-system = [ setuptools ];
pythonImportsCheck = [ "mediawiki_langcodes" ];
nativeCheckInputs = [ pytestCheckHook ];
meta = { description = "Convert MediaWiki language names and language codes"; homepage = "https://github.com/xxyzz/mediawiki_langcodes"; changelog = "https://github.com/xxyzz/mediawiki_langcodes/releases/tag/v${finalAttrs.version}"; license = lib.licenses.gpl3Plus; maintainers = with lib.maintainers; [ theobori ]; };})