python3Packages.language-data: init at 1.0.1
This commit is contained in:
parent
59325220e5
commit
f9ee9559d5
44
pkgs/development/python-modules/language-data/default.nix
Normal file
44
pkgs/development/python-modules/language-data/default.nix
Normal file
@ -0,0 +1,44 @@
|
||||
{ lib
|
||||
, buildPythonApplication
|
||||
, fetchFromGitHub
|
||||
, marisa-trie
|
||||
, poetry-core
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonApplication rec {
|
||||
pname = "language-data";
|
||||
version = "1.0.1";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "rspeer";
|
||||
repo = "language_data";
|
||||
rev = "v${version}";
|
||||
sha256 = "51TUVHXPHG6ofbnxI6+o5lrtr+QCIpGKu+OjDK3l7Mc=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
poetry-core
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
marisa-trie
|
||||
];
|
||||
|
||||
# Module has no tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"language_data"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Supplement module for langcodes";
|
||||
homepage = "https://github.com/rspeer/language_data";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
@ -4269,6 +4269,8 @@ in {
|
||||
|
||||
langdetect = callPackage ../development/python-modules/langdetect { };
|
||||
|
||||
language-data = callPackage ../development/python-modules/language-data { };
|
||||
|
||||
lark-parser = callPackage ../development/python-modules/lark-parser { };
|
||||
|
||||
latexcodec = callPackage ../development/python-modules/latexcodec { };
|
||||
|
Loading…
Reference in New Issue
Block a user