nixpkgs/pkgs/development/python-modules/tmdb3/default.nix

24 lines
679 B
Nix
Raw Normal View History

{ 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";
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;
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";
homepage = "https://pypi.python.org/pypi/tmdb3";
2018-02-27 22:28:00 +00:00
license = licenses.bsd3;
};
}