python310Packages.language-tags: init at 1.1.0

This commit is contained in:
Bruno BELANYI 2021-11-28 17:25:27 +01:00
parent 48919bc224
commit d1710a21fc
2 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,30 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "language-tags";
version = "1.1.0";
src = fetchFromGitHub {
owner = "OnroerendErfgoed";
repo = "language-tags";
rev = version;
sha256 = "sha256-4Ira3EMS64AM8I3SLmUm+m6V5vwtDYf8WDmVDvI+ZOw=";
};
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [ "language_tags" ];
meta = with lib; {
description = "Dealing with IANA language tags in Python";
homepage = "https://language-tags.readthedocs.io/en/latest/";
license = licenses.mit;
maintainers = with maintainers; [ ambroisie ];
};
}

View File

@ -5085,6 +5085,8 @@ in {
language-data = callPackage ../development/python-modules/language-data { };
language-tags = callPackage ../development/python-modules/language-tags { };
lark = callPackage ../development/python-modules/lark { };
latexcodec = callPackage ../development/python-modules/latexcodec { };