Files
2026-03-13 13:28:49 +01:00

43 lines
924 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
llama-index-core,
hatchling,
pyowm,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "llama-index-readers-weather";
version = "0.5.0";
pyproject = true;
src = fetchPypi {
pname = "llama_index_readers_weather";
inherit version;
hash = "sha256-bqvt09YSRD8BQfZjwnMlsO5oSscjh+piQXbUUZGeXbs=";
};
build-system = [ hatchling ];
dependencies = [
llama-index-core
pyowm
];
nativeCheckInputs = [ pytestCheckHook ];
# Tests are only available in the mono repo
doCheck = false;
pythonImportsCheck = [ "llama_index.readers.weather" ];
meta = {
description = "LlamaIndex Readers Integration for Weather";
homepage = "https://github.com/run-llama/llama_index/tree/main/llama-index-integrations/readers/llama-index-readers-weather";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}