summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/qrcode/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/qrcode/default.nix')
-rw-r--r--pkgs/development/python-modules/qrcode/default.nix37
1 files changed, 16 insertions, 21 deletions
diff --git a/pkgs/development/python-modules/qrcode/default.nix b/pkgs/development/python-modules/qrcode/default.nix
index 3d7ad90dbaaf..c0ac1f4bff04 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,9 +46,7 @@ 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"
];