at 23.05-pre 51 lines 950 B view raw
1{ lib 2, aiohttp 3, aioresponses 4, buildPythonPackage 5, fetchFromGitHub 6, dacite 7, orjson 8, pytest-asyncio 9, pytest-error-for-skips 10, pytestCheckHook 11, pythonOlder 12}: 13 14buildPythonPackage rec { 15 pname = "zadnegoale"; 16 version = "0.6.5"; 17 format = "setuptools"; 18 19 disabled = pythonOlder "3.8"; 20 21 src = fetchFromGitHub { 22 owner = "bieniu"; 23 repo = pname; 24 rev = "refs/tags/${version}"; 25 hash = "sha256-ubBN4jvueNgReNbS+RXNDNHID0MF/rvQnb0+F4/DZaU="; 26 }; 27 28 propagatedBuildInputs = [ 29 aiohttp 30 dacite 31 orjson 32 ]; 33 34 checkInputs = [ 35 aioresponses 36 pytest-asyncio 37 pytest-error-for-skips 38 pytestCheckHook 39 ]; 40 41 pythonImportsCheck = [ 42 "zadnegoale" 43 ]; 44 45 meta = with lib; { 46 description = "Python wrapper for getting allergen concentration data from Żadnego Ale servers"; 47 homepage = "https://github.com/bieniu/zadnegoale"; 48 license = licenses.asl20; 49 maintainers = with maintainers; [ fab ]; 50 }; 51}