summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-barcode
diff options
context:
space:
mode:
authorMartin Weinelt <hexa@darmstadt.ccc.de>2024-05-22 16:01:06 +0200
committerMartin Weinelt <hexa@darmstadt.ccc.de>2024-05-22 17:32:03 +0200
commit59b1aef59071cae6e87859dc65de973d2cc595c0 (patch)
tree18c3aaf31188cb7430359a1bb130d637a363351e /pkgs/development/python-modules/python-barcode
parent691216eca3d0ce5ad6ac10562e75910fa02415b0 (diff)
python3Packages: format with nixfmt
Diffstat (limited to 'pkgs/development/python-modules/python-barcode')
-rw-r--r--pkgs/development/python-modules/python-barcode/default.nix27
1 files changed, 11 insertions, 16 deletions
diff --git a/pkgs/development/python-modules/python-barcode/default.nix b/pkgs/development/python-modules/python-barcode/default.nix
index 4c4d9b367993..63d39dc9a852 100644
--- a/pkgs/development/python-modules/python-barcode/default.nix
+++ b/pkgs/development/python-modules/python-barcode/default.nix
@@ -1,10 +1,11 @@
-{ lib
-, buildPythonPackage
-, fetchPypi
-, pythonOlder
-, setuptools-scm
-, pillow
-, pytestCheckHook
+{
+ lib,
+ buildPythonPackage,
+ fetchPypi,
+ pythonOlder,
+ setuptools-scm,
+ pillow,
+ pytestCheckHook,
}:
buildPythonPackage rec {
@@ -19,14 +20,10 @@ buildPythonPackage rec {
hash = "sha256-Oxgl+9sR5ZdGbf9ChrTqmx6GpXcXtZ5WOuZ5cm/IVN4=";
};
- propagatedBuildInputs = [
- setuptools-scm
- ];
+ propagatedBuildInputs = [ setuptools-scm ];
passthru.optional-dependencies = {
- images = [
- pillow
- ];
+ images = [ pillow ];
};
postPatch = ''
@@ -36,9 +33,7 @@ buildPythonPackage rec {
--replace "--no-cov-on-fail" ""
'';
- nativeCheckInputs = [
- pytestCheckHook
- ] ++ passthru.optional-dependencies.images;
+ nativeCheckInputs = [ pytestCheckHook ] ++ passthru.optional-dependencies.images;
pythonImportsCheck = [ "barcode" ];