1{ lib, buildPythonPackage, fetchPypi, isPy3k }:
2
3buildPythonPackage rec {
4 pname = "tmdb3";
5 version = "0.7.2";
6 disabled = isPy3k; # Upstream has not received any updates since 2015, and importing from python3 does not work.
7
8 src = fetchPypi {
9 inherit pname version;
10 sha256 = "9b6e043b8a65d159e7fc8f720badc7ffee5109296e38676c107454e03a895983";
11 };
12
13 # no tests implemented
14 doCheck = false;
15
16 pythonImportsCheck = [ "tmdb3" ];
17
18 meta = with lib; {
19 description = "Python implementation of the v3 API for TheMovieDB.org, allowing access to movie and cast information";
20 homepage = "https://pypi.python.org/pypi/tmdb3";
21 license = licenses.bsd3;
22 };
23}