anki-bin: 24.06.3 -> 24.11 (#360722)
[NixPkgs.git] / pkgs / development / python-modules / llama-index-readers-weather / default.nix
blob1eee073053bd1a73a0d6e2bdd9a63bf988b5e01b
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   llama-index-core,
6   poetry-core,
7   pyowm,
8   pythonOlder,
9   pytestCheckHook,
12 buildPythonPackage rec {
13   pname = "llama-index-readers-weather";
14   version = "0.2.0";
15   pyproject = true;
17   disabled = pythonOlder "3.8";
19   src = fetchPypi {
20     pname = "llama_index_readers_weather";
21     inherit version;
22     hash = "sha256-m4EaV14tcH2I5veHdgGjBloKKAShJqsJGS9Ci8xRnMg=";
23   };
25   build-system = [ poetry-core ];
27   dependencies = [
28     llama-index-core
29     pyowm
30   ];
32   nativeCheckInputs = [ pytestCheckHook ];
34   # Tests are only available in the mono repo
35   doCheck = false;
37   pythonImportsCheck = [ "llama_index.readers.weather" ];
39   meta = with lib; {
40     description = "LlamaIndex Readers Integration for Weather";
41     homepage = "https://github.com/run-llama/llama_index/tree/main/llama-index-integrations/readers/llama-index-readers-weather";
42     license = licenses.mit;
43     maintainers = with maintainers; [ fab ];
44   };