2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2018-10-29 21:20:17 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, requests-cache
|
2019-03-05 12:11:48 +00:00
|
|
|
, pytest
|
2018-10-29 21:20:17 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "tvdb_api";
|
2021-06-18 21:47:41 +00:00
|
|
|
version = "3.1.0";
|
2018-10-29 21:20:17 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-06-18 21:47:41 +00:00
|
|
|
sha256 = "f63f6db99441bb202368d44aaabc956acc4202b18fc343a66bf724383ee1f563";
|
2018-10-29 21:20:17 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ requests-cache ];
|
|
|
|
|
2019-03-05 12:11:48 +00:00
|
|
|
checkInputs = [ pytest ];
|
|
|
|
|
|
|
|
# requires network access
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2019-03-05 12:11:48 +00:00
|
|
|
description = "Simple to use TVDB (thetvdb.com) API in Python";
|
2018-10-29 21:20:17 +00:00
|
|
|
homepage = "https://github.com/dbr/tvdb_api";
|
|
|
|
license = licenses.unlicense;
|
|
|
|
maintainers = with maintainers; [ peterhoeg ];
|
2021-07-08 11:07:30 +00:00
|
|
|
# https://github.com/dbr/tvdb_api/issues/94
|
|
|
|
broken = true;
|
2018-10-29 21:20:17 +00:00
|
|
|
};
|
|
|
|
}
|