pythonPackages.tmdb3: disable on python3

This commit is contained in:
IvarWithoutBones 2020-10-28 18:00:54 +01:00
parent 1f9ab74d4c
commit 235bf5ad7d

View file

@ -1,8 +1,9 @@
{ lib, buildPythonPackage, fetchPypi }:
{ lib, buildPythonPackage, fetchPypi, isPy3k }:
buildPythonPackage rec {
pname = "tmdb3";
version = "0.7.2";
disabled = isPy3k; # Upstream has not received any updates since 2015, and importing from python3 does not work.
src = fetchPypi {
inherit pname version;
@ -12,6 +13,8 @@ buildPythonPackage rec {
# no tests implemented
doCheck = false;
pythonImportsCheck = [ "tmdb3" ];
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";