diff options
| author | Martin Weinelt <mweinelt@users.noreply.github.com> | 2024-05-22 17:58:05 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-22 17:58:05 +0200 |
| commit | 37d23f4b3b29612cc1fb5a5227b62fbdeaca8b6f (patch) | |
| tree | 056b53416f5aeb9aaedd2317d590ff98538a5cf9 /pkgs/development/python-modules/python-barcode | |
| parent | eb3e5c5f0d67368067c2618a49db2341c1362e4d (diff) | |
| parent | 42961a65a97bcd9291a9693ddf89bceee7aba2f2 (diff) | |
Merge pull request #313628 from mweinelt/python-nixfmt
python3Packages: format with nixfmt
Diffstat (limited to 'pkgs/development/python-modules/python-barcode')
| -rw-r--r-- | pkgs/development/python-modules/python-barcode/default.nix | 27 |
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" ]; |
