Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / language-data / default.nix
blobff04b036dc05c7bbe63430dd81f8dc29122fe105
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , marisa-trie
5 , poetry-core
6 , pythonOlder
7 , setuptools
8 }:
10 buildPythonPackage rec {
11   pname = "language-data";
12   version = "1.0.1";
13   format = "pyproject";
15   disabled = pythonOlder "3.6";
17   src = fetchFromGitHub {
18     owner = "rspeer";
19     repo = "language_data";
20     rev = "v${version}";
21     sha256 = "51TUVHXPHG6ofbnxI6+o5lrtr+QCIpGKu+OjDK3l7Mc=";
22   };
24   nativeBuildInputs = [
25     poetry-core
26     setuptools
27   ];
29   propagatedBuildInputs = [
30     marisa-trie
31   ];
33   # Module has no tests
34   doCheck = false;
36   pythonImportsCheck = [
37     "language_data"
38   ];
40   meta = with lib; {
41     description = "Supplement module for langcodes";
42     homepage = "https://github.com/rspeer/language_data";
43     license = licenses.mit;
44     maintainers = with maintainers; [ fab ];
45   };