1{ 2 aiohttp, 3 buildPythonPackage, 4 fetchFromGitHub, 5 freezegun, 6 lib, 7 pytest-asyncio, 8 pytestCheckHook, 9 setuptools, 10 svgwrite, 11}: 12 13buildPythonPackage rec { 14 pname = "irm-kmi-api"; 15 version = "1.1.0"; 16 pyproject = true; 17 18 src = fetchFromGitHub { 19 owner = "jdejaegh"; 20 repo = "irm-kmi-api"; 21 tag = version; 22 hash = "sha256-E8lf2TpeA91mRbxXYCsuum0mJdE5XLXX0l8CKEl5SFw="; 23 }; 24 25 build-system = [ setuptools ]; 26 27 dependencies = [ 28 aiohttp 29 svgwrite 30 ]; 31 32 pythonImportsCheck = [ "irm_kmi_api" ]; 33 34 nativeCheckInputs = [ 35 freezegun 36 pytest-asyncio 37 pytestCheckHook 38 ]; 39 40 meta = { 41 changelog = "https://github.com/jdejaegh/irm-kmi-api/releases/tag/${src.tag}"; 42 description = "Retrieve data from the Belgian Royal Meteorological Institute"; 43 homepage = "https://github.com/jdejaegh/irm-kmi-api"; 44 license = lib.licenses.mit; 45 maintainers = [ lib.maintainers.dotlambda ]; 46 }; 47}