1{ lib
2, buildPythonPackage
3, fetchPypi
4, lxml
5, sqlalchemy
6}:
7
8buildPythonPackage rec {
9 pname = "imdbpy";
10 version = "2021.4.18";
11
12 src = fetchPypi {
13 pname = "IMDbPY";
14 inherit version;
15 sha256 = "af57f03638ba3b8ab3d696bfef0eeaf6414385c85f09260aba0a16b32174853f";
16 };
17
18 propagatedBuildInputs = [
19 lxml
20 sqlalchemy
21 ];
22
23 # Tests require networking, and https://github.com/alberanid/imdbpy/issues/240
24 doCheck = false;
25
26 pythonImportsCheck = [ "imdb" ];
27
28 meta = with lib; {
29 description = "Python package for retrieving and managing the data of the IMDb database";
30 homepage = "https://imdbpy.github.io/";
31 license = licenses.gpl2Only;
32 maintainers = with maintainers; [ ivar ];
33 };
34}