diff options
Diffstat (limited to 'pkgs/development/python-modules/qrcode/default.nix')
-rw-r--r-- | pkgs/development/python-modules/qrcode/default.nix | 38 |
1 files changed, 18 insertions, 20 deletions
diff --git a/pkgs/development/python-modules/qrcode/default.nix b/pkgs/development/python-modules/qrcode/default.nix index b5c3d2aec6b34..c0ac1f4bff047 100644 --- a/pkgs/development/python-modules/qrcode/default.nix +++ b/pkgs/development/python-modules/qrcode/default.nix @@ -1,15 +1,16 @@ -{ lib -, buildPythonPackage -, fetchPypi -, mock -, pillow -, pypng -, pytestCheckHook -, pythonAtLeast -, qrcode -, setuptools -, testers -, typing-extensions +{ + lib, + buildPythonPackage, + fetchPypi, + mock, + pillow, + pypng, + pytestCheckHook, + pythonAtLeast, + qrcode, + setuptools, + testers, + typing-extensions, }: buildPythonPackage rec { @@ -22,9 +23,7 @@ buildPythonPackage rec { hash = "sha256-ndlpRUgn4Sfb2TaWsgdHI55tVA4IKTfJDxSslbMPWEU="; }; - nativeBuildInputs = [ - setuptools - ]; + nativeBuildInputs = [ setuptools ]; propagatedBuildInputs = [ typing-extensions @@ -33,9 +32,7 @@ buildPythonPackage rec { setuptools ]; - passthru.optional-dependencies.pil = [ - pillow - ]; + passthru.optional-dependencies.pil = [ pillow ]; nativeCheckInputs = [ mock @@ -49,8 +46,9 @@ buildPythonPackage rec { }; }; - disabledTests = lib.optionals (pythonAtLeast "3.12") [ - "test_change" + disabledTests = lib.optionals (pythonAtLeast "3.12") [ "test_change" ] ++ [ + # Attempts to open a file which doesn't exist in sandbox + "test_piped" ]; meta = with lib; { |