2018-10-29 21:20:17 +00:00
|
|
|
{ stdenv
|
|
|
|
, 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";
|
2020-06-06 07:47:34 +01:00
|
|
|
version = "3.0.2";
|
2018-10-29 21:20:17 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-06-06 07:47:34 +01:00
|
|
|
sha256 = "6a0135815cb680da38d78121d4d659d8e54a25f4db2816cd86d62916b92f23b2";
|
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;
|
|
|
|
|
2018-10-29 21:20:17 +00:00
|
|
|
meta = with stdenv.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 ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|