nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 42 lines 924 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 llama-index-core, 6 hatchling, 7 pyowm, 8 pytestCheckHook, 9}: 10 11buildPythonPackage rec { 12 pname = "llama-index-readers-weather"; 13 version = "0.4.1"; 14 pyproject = true; 15 16 src = fetchPypi { 17 pname = "llama_index_readers_weather"; 18 inherit version; 19 hash = "sha256-fprFX75y50RzJA4SlMfgAeXOO88QbY9UT17Y8oIwdUk="; 20 }; 21 22 build-system = [ hatchling ]; 23 24 dependencies = [ 25 llama-index-core 26 pyowm 27 ]; 28 29 nativeCheckInputs = [ pytestCheckHook ]; 30 31 # Tests are only available in the mono repo 32 doCheck = false; 33 34 pythonImportsCheck = [ "llama_index.readers.weather" ]; 35 36 meta = { 37 description = "LlamaIndex Readers Integration for Weather"; 38 homepage = "https://github.com/run-llama/llama_index/tree/main/llama-index-integrations/readers/llama-index-readers-weather"; 39 license = lib.licenses.mit; 40 maintainers = with lib.maintainers; [ fab ]; 41 }; 42}