python3Packages.cinemagoer: init 2022.2.11

* package imdbpy has been renamed to cinemagor at upstream.
* imdbpy is deprecated.
This commit is contained in:
superherointj 2022-08-08 16:55:00 -03:00
parent 0b62bc1e21
commit 904648c847
4 changed files with 37 additions and 36 deletions

View File

@ -0,0 +1,34 @@
{ lib
, buildPythonPackage
, fetchPypi
, lxml
, sqlalchemy
}:
buildPythonPackage rec {
pname = "cinemagoer";
version = "2022.2.11";
src = fetchPypi {
inherit pname version;
sha256 = "8efe29dab44a7d275702f3160746015bd55c87b2eed85991dd57dda42594e6c6";
};
propagatedBuildInputs = [
lxml
sqlalchemy
];
# Tests require networking, and https://github.com/cinemagoer/cinemagoer/issues/240
doCheck = false;
pythonImportsCheck = [ "imdb" ]; # Former "imdbpy", upstream is yet to rename here
meta = with lib; {
description = "A Python package for retrieving and managing the data of the IMDb movie database about movies and people";
downloadPage = "https://github.com/cinemagoer/cinemagoer/";
homepage = "https://cinemagoer.github.io/";
license = licenses.gpl2Only;
maintainers = with maintainers; [ superherointj ];
};
}

View File

@ -1,34 +0,0 @@
{ lib
, buildPythonPackage
, fetchPypi
, lxml
, sqlalchemy
}:
buildPythonPackage rec {
pname = "imdbpy";
version = "2022.7.9";
src = fetchPypi {
pname = "IMDbPY";
inherit version;
sha256 = "sha256-gKXt+KhxE/8ipE0A/XbUIsQs/uzU6oIL4zdTuPJL9OY=";
};
propagatedBuildInputs = [
lxml
sqlalchemy
];
# Tests require networking, and https://github.com/alberanid/imdbpy/issues/240
doCheck = false;
pythonImportsCheck = [ "imdb" ];
meta = with lib; {
description = "Python package for retrieving and managing the data of the IMDb database";
homepage = "https://imdbpy.github.io/";
license = licenses.gpl2Only;
maintainers = with maintainers; [ ivar ];
};
}

View File

@ -90,6 +90,7 @@ mapAliases ({
hdlparse = throw "hdlparse has been removed, it was using setuptools 2to3 translation feature, which has been removed in setuptools 58"; # added 2022-01-18
hyperkitty = throw "Please use pkgs.mailmanPackages.hyperkitty"; # added 2022-04-29
IMAPClient = imapclient; # added 2021-10-28
imdbpy = throw "imdbpy has been renamed to cinemagoer"; # added 2022-08-08
ipaddress = throw "ipaddress has been removed because it is no longer required since python 2.7."; # added 2022-05-30
influxgraph = throw "influxgraph has been removed because it is no longer maintained"; # added 2022-07-10
jupyter_client = jupyter-client; # added 2021-10-15

View File

@ -1702,6 +1702,8 @@ in {
ci-py = callPackage ../development/python-modules/ci-py { };
cinemagoer = callPackage ../development/python-modules/cinemagoer { };
circuit-webhook = callPackage ../development/python-modules/circuit-webhook { };
circuitbreaker = callPackage ../development/python-modules/circuitbreaker { };
@ -4288,8 +4290,6 @@ in {
imbalanced-learn = callPackage ../development/python-modules/imbalanced-learn { };
imdbpy = callPackage ../development/python-modules/imdbpy { };
img2pdf = callPackage ../development/python-modules/img2pdf { };
imgaug = callPackage ../development/python-modules/imgaug { };