1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 setuptools,
6 requests,
7}:
8
9buildPythonPackage {
10 pname = "tmdbsimple";
11 version = "2.9.2-unstable-2025-01-07";
12 pyproject = true;
13
14 src = fetchFromGitHub {
15 owner = "celiao";
16 repo = "tmdbsimple";
17 rev = "0b3359f7bab3ade391b2e5de964ed115b00984a6";
18 hash = "sha256-usyL2lHSJwvPnWncI3K+yTmeU5DN1AkRzHC5nFh3vxs=";
19 };
20
21 build-system = [ setuptools ];
22
23 dependencies = [ requests ];
24
25 pythonImportsCheck = [ "tmdbsimple" ];
26
27 # The tests require an internet connection and an API key
28 doCheck = false;
29
30 meta = {
31 description = "Wrapper for The Movie Database API v3";
32 homepage = "https://github.com/celiao/tmdbsimple";
33 license = lib.licenses.gpl3Plus;
34 maintainers = with lib.maintainers; [ theobori ];
35 };
36}