From 46159bcf20d0d748405d5a51550b1600127b6bf1 Mon Sep 17 00:00:00 2001 From: Lancelot SIX Date: Thu, 1 Oct 2020 16:29:05 +0100 Subject: [PATCH] pythonPackages.pyscreenshot: add missing pillow dependency --- pkgs/development/python-modules/pyscreenshot/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/pyscreenshot/default.nix b/pkgs/development/python-modules/pyscreenshot/default.nix index 7967caf61782..ec67b7649ea9 100644 --- a/pkgs/development/python-modules/pyscreenshot/default.nix +++ b/pkgs/development/python-modules/pyscreenshot/default.nix @@ -6,6 +6,7 @@ , entrypoint2 , jeepney , mss +, pillow }: buildPythonPackage rec { @@ -20,6 +21,7 @@ buildPythonPackage rec { propagatedBuildInputs = [ EasyProcess entrypoint2 + pillow ] ++ lib.optionals (isPy3k) [ jeepney mss @@ -28,6 +30,8 @@ buildPythonPackage rec { # recursive dependency on pyvirtualdisplay doCheck = false; + pythonImportsCheck = [ "pyscreenshot" ]; + meta = with lib; { description = "python screenshot"; homepage = "https://github.com/ponty/pyscreenshot";