nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 22.05 40 lines 767 B view raw
1{ lib 2, buildPythonPackage 3, pythonOlder 4, fetchPypi 5, aiohttp 6, pytest-aiohttp 7, pytest-asyncio 8, pytestCheckHook 9}: 10 11buildPythonPackage rec { 12 pname = "pytomorrowio"; 13 version = "0.3.3"; 14 15 disabled = pythonOlder "3.7"; 16 17 src = fetchPypi { 18 inherit pname version; 19 sha256 = "0d4f81dc90aefa26da18b927473cb7b08b093f7732301983ef5f0b1ca1181c62"; 20 }; 21 22 propagatedBuildInputs = [ 23 aiohttp 24 ]; 25 26 checkInputs = [ 27 pytest-aiohttp 28 pytest-asyncio 29 pytestCheckHook 30 ]; 31 32 pythonImportsCheck = [ "pytomorrowio" ]; 33 34 meta = { 35 description = "Async Python package to access the Tomorrow.io API"; 36 homepage = "https://github.com/raman325/pytomorrowio"; 37 license = lib.licenses.mit; 38 maintainers = with lib.maintainers; [ dotlambda ]; 39 }; 40}