2020-11-30 08:33:03 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, isPy3k }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "tmdb3";
|
|
|
|
version = "0.7.2";
|
2020-11-30 08:33:03 +00:00
|
|
|
disabled = isPy3k; # Upstream has not received any updates since 2015, and importing from python3 does not work.
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "9b6e043b8a65d159e7fc8f720badc7ffee5109296e38676c107454e03a895983";
|
|
|
|
};
|
|
|
|
|
|
|
|
# no tests implemented
|
|
|
|
doCheck = false;
|
|
|
|
|
2020-11-30 08:33:03 +00:00
|
|
|
pythonImportsCheck = [ "tmdb3" ];
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Python implementation of the v3 API for TheMovieDB.org, allowing access to movie and cast information";
|
|
|
|
homepage = "https://pypi.python.org/pypi/tmdb3";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
};
|
|
|
|
}
|