depot/third_party/nixpkgs/pkgs/development/python-modules/imdbpy/default.nix
Default email ae1b531433 Project import generated by Copybara.
GitOrigin-RevId: 1dc37370c489b610f8b91d7fdd40633163ffbafd
2020-10-27 01:29:36 +01:00

25 lines
823 B
Nix

{ lib, buildPythonPackage, fetchPypi, lxml, sqlalchemy }:
buildPythonPackage rec {
pname = "IMDbPY";
version = "2020.9.25";
src = fetchPypi {
inherit pname version;
sha256 = "1p3j9j1jcgbw4626cvgpryhvczy9gzlg0laz6lflgq17m129gin2";
};
patches = [ ./sql_error.patch ]; # Already fixed in master, but not yet in the current release. This can be removed upon the next version update
propagatedBuildInputs = [ lxml sqlalchemy ];
doCheck = false; # Tests require networking, and https://github.com/alberanid/imdbpy/issues/240
pythonImportsCheck = [ "imdb" ];
meta = with lib; {
homepage = "https://imdbpy.github.io/";
description = "A Python package for retrieving and managing the data of the IMDb database";
maintainers = [ maintainers.ivar ];
license = licenses.gpl2Only;
};
}