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 { buildPythonPackage rec {
pname = "tmdb3"; pname = "tmdb3";
version = "0.7.2"; version = "0.7.2";
disabled = isPy3k; # Upstream has not received any updates since 2015, and importing from python3 does not work.
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
@ -12,6 +13,8 @@ buildPythonPackage rec {
# no tests implemented # no tests implemented
doCheck = false; doCheck = false;
pythonImportsCheck = [ "tmdb3" ];
meta = with lib; { meta = with lib; {
description = "Python implementation of the v3 API for TheMovieDB.org, allowing access to movie and cast information"; description = "Python implementation of the v3 API for TheMovieDB.org, allowing access to movie and cast information";
homepage = "https://pypi.python.org/pypi/tmdb3"; homepage = "https://pypi.python.org/pypi/tmdb3";