2020-10-28 17:00:54 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, isPy3k }:
|
2018-02-27 22:28:00 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "tmdb3";
|
2018-02-27 22:34:41 +00:00
|
|
|
version = "0.7.2";
|
2020-10-28 17:00:54 +00:00
|
|
|
disabled = isPy3k; # Upstream has not received any updates since 2015, and importing from python3 does not work.
|
2018-02-27 22:28:00 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-02-27 22:34:41 +00:00
|
|
|
sha256 = "9b6e043b8a65d159e7fc8f720badc7ffee5109296e38676c107454e03a895983";
|
2018-02-27 22:28:00 +00:00
|
|
|
};
|
|
|
|
|
2018-02-27 22:34:41 +00:00
|
|
|
# no tests implemented
|
|
|
|
doCheck = false;
|
|
|
|
|
2020-10-28 17:00:54 +00:00
|
|
|
pythonImportsCheck = [ "tmdb3" ];
|
|
|
|
|
2018-02-27 22:28:00 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Python implementation of the v3 API for TheMovieDB.org, allowing access to movie and cast information";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://pypi.python.org/pypi/tmdb3";
|
2018-02-27 22:28:00 +00:00
|
|
|
license = licenses.bsd3;
|
|
|
|
};
|
|
|
|
}
|