Merge pull request #185709 from superherointj/package-python310Packages.cinemagoer

python310Packages.cinemagoer: init 2022.2.11
This commit is contained in:
superherointj 2022-08-08 18:44:53 -03:00 committed by GitHub
commit 62e6530d93
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 38 additions and 37 deletions

View file

@ -48,7 +48,7 @@ stdenv.mkDerivation rec {
];
pythonPath = with python3.pkgs; [
imdbpy
cinemagoer
pygobject3
requests
setproctitle

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 { };
@ -4292,8 +4294,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 { };