Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / llama-index-readers-weather / default.nix
blob1778322d63b49bec7bbbc33b5fe4b0d9a72f0632
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , llama-index-core
5 , poetry-core
6 , pyowm
7 , pythonOlder
8 , pytestCheckHook
9 }:
11 buildPythonPackage rec {
12   pname = "llama-index-readers-weather";
13   version = "0.1.3";
14   pyproject = true;
16   disabled = pythonOlder "3.8";
18   src = fetchPypi {
19     pname = "llama_index_readers_weather";
20     inherit version;
21     hash = "sha256-LJy2nU9f+yZZQm9stNn9mIqOkT5lOHaMIIm1Ezf2D0Q=";
22   };
24   build-system = [
25     poetry-core
26   ];
28   dependencies = [
29     llama-index-core
30     pyowm
31   ];
33   nativeCheckInputs = [
34     pytestCheckHook
35   ];
37   # Tests are only available in the mono repo
38   doCheck = false;
40   pythonImportsCheck = [
41     "llama_index.readers.weather"
42   ];
44   meta = with lib; {
45     description = "LlamaIndex Readers Integration for Weather";
46     homepage = "https://github.com/run-llama/llama_index/tree/main/llama-index-integrations/readers/llama-index-readers-weather";
47     license = licenses.mit;
48     maintainers = with maintainers; [ fab ];
49   };