python310Packages.language-tags: init at 1.1.0
This commit is contained in:
parent
48919bc224
commit
d1710a21fc
30
pkgs/development/python-modules/language-tags/default.nix
Normal file
30
pkgs/development/python-modules/language-tags/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user