2021-09-26 12:46:18 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, lxml
|
|
|
|
, sqlalchemy
|
|
|
|
}:
|
2020-10-27 00:29:36 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2021-09-26 12:46:18 +00:00
|
|
|
pname = "imdbpy";
|
2021-09-18 10:52:07 +00:00
|
|
|
version = "2021.4.18";
|
2020-10-27 00:29:36 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
2021-09-26 12:46:18 +00:00
|
|
|
pname = "IMDbPY";
|
|
|
|
inherit version;
|
2021-09-18 10:52:07 +00:00
|
|
|
sha256 = "af57f03638ba3b8ab3d696bfef0eeaf6414385c85f09260aba0a16b32174853f";
|
2020-10-27 00:29:36 +00:00
|
|
|
};
|
|
|
|
|
2021-09-26 12:46:18 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
lxml
|
|
|
|
sqlalchemy
|
|
|
|
];
|
2020-10-27 00:29:36 +00:00
|
|
|
|
2021-09-26 12:46:18 +00:00
|
|
|
# Tests require networking, and https://github.com/alberanid/imdbpy/issues/240
|
|
|
|
doCheck = false;
|
2020-10-27 00:29:36 +00:00
|
|
|
|
|
|
|
pythonImportsCheck = [ "imdb" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
2021-09-26 12:46:18 +00:00
|
|
|
description = "Python package for retrieving and managing the data of the IMDb database";
|
2020-10-27 00:29:36 +00:00
|
|
|
homepage = "https://imdbpy.github.io/";
|
|
|
|
license = licenses.gpl2Only;
|
2021-09-26 12:46:18 +00:00
|
|
|
maintainers = with maintainers; [ ivar ];
|
2020-10-27 00:29:36 +00:00
|
|
|
};
|
|
|
|
}
|