Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 25 lines 823 B view raw
1{ lib, buildPythonPackage, fetchPypi, lxml, sqlalchemy }: 2 3buildPythonPackage rec { 4 pname = "IMDbPY"; 5 version = "2020.9.25"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "1p3j9j1jcgbw4626cvgpryhvczy9gzlg0laz6lflgq17m129gin2"; 10 }; 11 12 patches = [ ./sql_error.patch ]; # Already fixed in master, but not yet in the current release. This can be removed upon the next version update 13 14 propagatedBuildInputs = [ lxml sqlalchemy ]; 15 16 doCheck = false; # Tests require networking, and https://github.com/alberanid/imdbpy/issues/240 17 pythonImportsCheck = [ "imdb" ]; 18 19 meta = with lib; { 20 homepage = "https://imdbpy.github.io/"; 21 description = "A Python package for retrieving and managing the data of the IMDb database"; 22 maintainers = [ maintainers.ivar ]; 23 license = licenses.gpl2Only; 24 }; 25}