about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/toonapi/default.nix
blob: 003670989920c66816a79ed2ebf0e9938a8e043a (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
{ lib
, aiohttp
, backoff
, buildPythonPackage
, fetchFromGitHub
, yarl
}:

buildPythonPackage rec {
  pname = "toonapi";
  version = "0.2.0";

  src = fetchFromGitHub {
    owner = "frenck";
    repo = "python-toonapi";
    rev = "v${version}";
    sha256 = "1d4n615vlcgkvmchrfjw4h3ndav3ljmcfydxr2b41zn83mzizqdf";
  };

  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 ];
  };
}