1{ lib 2, aiohttp 3, backoff 4, buildPythonPackage 5, fetchFromGitHub 6, yarl 7}: 8 9buildPythonPackage rec { 10 pname = "toonapi"; 11 version = "0.2.1"; 12 13 src = fetchFromGitHub { 14 owner = "frenck"; 15 repo = "python-toonapi"; 16 rev = "v${version}"; 17 sha256 = "10jh6p0ww51cb9f8amd9jq3lmvby6n2k08qwcr2n8ijbbgyp0ibf"; 18 }; 19 20 propagatedBuildInputs = [ 21 aiohttp 22 backoff 23 yarl 24 ]; 25 26 # Project has no tests 27 doCheck = false; 28 pythonImportsCheck = [ "toonapi" ]; 29 30 meta = with lib; { 31 description = "Python client for the Quby ToonAPI"; 32 homepage = "https://github.com/frenck/python-toonapi"; 33 license = with licenses; [ mit ]; 34 maintainers = with maintainers; [ fab ]; 35 }; 36}