1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 hatchling, 6 cachetools, 7 pandas, 8 requests, 9 pytestCheckHook, 10}: 11 12buildPythonPackage rec { 13 pname = "world-bank-data"; 14 version = "0.1.4"; 15 pyproject = true; 16 17 src = fetchPypi { 18 pname = "world_bank_data"; 19 inherit version; 20 hash = "sha256-UidtJovurzrZKWeI7n1bV0vluc5pSg92zKFELvZE9fw="; 21 }; 22 23 build-system = [ 24 hatchling 25 ]; 26 27 dependencies = [ 28 cachetools 29 pandas 30 requests 31 ]; 32 33 # Tests require a HTTP connection 34 doCheck = false; 35 36 pythonImportsCheck = [ 37 "world_bank_data" 38 ]; 39 40 meta = { 41 description = "World Bank Data API in Python"; 42 homepage = "https://github.com/mwouts/world_bank_data"; 43 license = lib.licenses.mit; 44 maintainers = with lib.maintainers; [ itepastra ]; 45 }; 46}