diff --git a/pkgs/development/python-modules/pyocr/default.nix b/pkgs/development/python-modules/pyocr/default.nix index d5676f7e5fa8..47a73c9c80af 100644 --- a/pkgs/development/python-modules/pyocr/default.nix +++ b/pkgs/development/python-modules/pyocr/default.nix @@ -60,7 +60,7 @@ buildPythonPackage rec { checkPhase = "pytest"; meta = { - inherit (src) homepage; + inherit (src.meta) homepage; description = "A Python wrapper for Tesseract and Cuneiform"; license = lib.licenses.gpl3Plus; }; diff --git a/pkgs/development/python-modules/pypillowfight/default.nix b/pkgs/development/python-modules/pypillowfight/default.nix index b1f0a1a8461a..76503122a1b1 100644 --- a/pkgs/development/python-modules/pypillowfight/default.nix +++ b/pkgs/development/python-modules/pypillowfight/default.nix @@ -32,7 +32,7 @@ buildPythonPackage rec { meta = with stdenv.lib; { description = "Library containing various image processing algorithms"; - inherit (src) homepage; + inherit (src.meta) homepage; license = licenses.gpl3Plus; }; }