diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2021-11-29 22:49:33 +0100 |
---|---|---|
committer | Jonathan Ringer <jonringer117@gmail.com> | 2021-11-30 18:52:55 -0800 |
commit | f9ee9559d54b2b1c48a02aa350a953d81db5e9d8 (patch) | |
tree | 6b80cea4c656e63d88a195e05fcbd4d4e9644f30 /pkgs/development/python-modules/language-data | |
parent | 59325220e5ccd7cc2050f55f2e21a457aa734b3a (diff) | |
download | nixpkgs-f9ee9559d54b2b1c48a02aa350a953d81db5e9d8.tar nixpkgs-f9ee9559d54b2b1c48a02aa350a953d81db5e9d8.tar.gz nixpkgs-f9ee9559d54b2b1c48a02aa350a953d81db5e9d8.tar.bz2 nixpkgs-f9ee9559d54b2b1c48a02aa350a953d81db5e9d8.tar.lz nixpkgs-f9ee9559d54b2b1c48a02aa350a953d81db5e9d8.tar.xz nixpkgs-f9ee9559d54b2b1c48a02aa350a953d81db5e9d8.tar.zst nixpkgs-f9ee9559d54b2b1c48a02aa350a953d81db5e9d8.zip |
python3Packages.language-data: init at 1.0.1
Diffstat (limited to 'pkgs/development/python-modules/language-data')
-rw-r--r-- | pkgs/development/python-modules/language-data/default.nix | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/language-data/default.nix b/pkgs/development/python-modules/language-data/default.nix new file mode 100644 index 00000000000..98d4885b1e9 --- /dev/null +++ b/pkgs/development/python-modules/language-data/default.nix @@ -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 ]; + }; +} |