Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / toonapi / default.nix
blobac51cae1c805dccc963390345c79bcb8f31696cc
1 { lib
2 , aiohttp
3 , backoff
4 , buildPythonPackage
5 , fetchFromGitHub
6 , pythonOlder
7 , yarl
8 }:
10 buildPythonPackage rec {
11   pname = "toonapi";
12   version = "0.3.0";
13   format = "setuptools";
15   disabled = pythonOlder "3.8";
17   src = fetchFromGitHub {
18     owner = "frenck";
19     repo = "python-toonapi";
20     rev = "refs/tags/v${version}";
21     hash = "sha256-RaN9ppqJbTik1/vNX0/YLoBawrqjyQWU6+FLTspIxug=";
22   };
24   propagatedBuildInputs = [
25     aiohttp
26     backoff
27     yarl
28   ];
30   # Project has no tests
31   doCheck = false;
33   pythonImportsCheck = [
34     "toonapi"
35   ];
37   meta = with lib; {
38     description = "Python client for the Quby ToonAPI";
39     homepage = "https://github.com/frenck/python-toonapi";
40     changelog = "https://github.com/frenck/python-toonapi/releases/tag/v${version}";
41     license = with licenses; [ mit ];
42     maintainers = with maintainers; [ fab ];
43   };