2021-01-17 00:15:33 +00:00
|
|
|
{ lib
|
|
|
|
, aiohttp
|
|
|
|
, backoff
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
|
|
|
, yarl
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "toonapi";
|
2021-09-26 12:46:18 +00:00
|
|
|
version = "0.2.1";
|
2021-01-17 00:15:33 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "frenck";
|
|
|
|
repo = "python-toonapi";
|
|
|
|
rev = "v${version}";
|
2021-09-26 12:46:18 +00:00
|
|
|
sha256 = "10jh6p0ww51cb9f8amd9jq3lmvby6n2k08qwcr2n8ijbbgyp0ibf";
|
2021-01-17 00:15:33 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
aiohttp
|
|
|
|
backoff
|
|
|
|
yarl
|
|
|
|
];
|
|
|
|
|
|
|
|
# Project has no tests
|
|
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "toonapi" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Python client for the Quby ToonAPI";
|
|
|
|
homepage = "https://github.com/frenck/python-toonapi";
|
|
|
|
license = with licenses; [ mit ];
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|