nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 42 lines 811 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 aiohttp, 6 pytest-aiohttp, 7 pytest-asyncio, 8 pytestCheckHook, 9}: 10 11buildPythonPackage rec { 12 pname = "pytomorrowio"; 13 version = "0.3.6"; 14 format = "setuptools"; 15 16 src = fetchPypi { 17 inherit pname version; 18 hash = "sha256-ZCA+GYuZuRgc4Pi9Bcg4zthOnkmQ+/IddFMkR0WYfKk="; 19 }; 20 21 propagatedBuildInputs = [ aiohttp ]; 22 23 nativeCheckInputs = [ 24 pytest-aiohttp 25 pytest-asyncio 26 pytestCheckHook 27 ]; 28 29 disabledTests = [ 30 # aiohttp 3.10.6 compat 31 "test_errors" 32 ]; 33 34 pythonImportsCheck = [ "pytomorrowio" ]; 35 36 meta = { 37 description = "Async Python package to access the Tomorrow.io API"; 38 homepage = "https://github.com/raman325/pytomorrowio"; 39 license = lib.licenses.mit; 40 maintainers = with lib.maintainers; [ dotlambda ]; 41 }; 42}