blob: 97cfb696c7b5d7c1e043096c5606bc31dab18cb2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
{
lib,
aiohttp,
backoff,
buildPythonPackage,
fetchFromGitHub,
pythonOlder,
yarl,
}:
buildPythonPackage rec {
pname = "toonapi";
version = "0.3.0";
format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "frenck";
repo = "python-toonapi";
rev = "refs/tags/v${version}";
hash = "sha256-RaN9ppqJbTik1/vNX0/YLoBawrqjyQWU6+FLTspIxug=";
};
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";
changelog = "https://github.com/frenck/python-toonapi/releases/tag/v${version}";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}
|