1{ stdenv
2, buildPythonPackage
3, fetchPypi
4, requests-cache
5, pytest
6}:
7
8buildPythonPackage rec {
9 pname = "tvdb_api";
10 version = "3.0.2";
11
12 src = fetchPypi {
13 inherit pname version;
14 sha256 = "6a0135815cb680da38d78121d4d659d8e54a25f4db2816cd86d62916b92f23b2";
15 };
16
17 propagatedBuildInputs = [ requests-cache ];
18
19 checkInputs = [ pytest ];
20
21 # requires network access
22 doCheck = false;
23
24 meta = with stdenv.lib; {
25 description = "Simple to use TVDB (thetvdb.com) API in Python";
26 homepage = "https://github.com/dbr/tvdb_api";
27 license = licenses.unlicense;
28 maintainers = with maintainers; [ peterhoeg ];
29 };
30
31}