diff options
| author | Martin Weinelt <hexa@darmstadt.ccc.de> | 2022-05-22 16:26:11 +0200 |
|---|---|---|
| committer | Martin Weinelt <hexa@darmstadt.ccc.de> | 2022-05-22 16:31:53 +0200 |
| commit | 272430c82399d0a2f22b51dd0e564a8709ba6782 (patch) | |
| tree | 4bc42f8b3229f50b0e2305e0c0895edb63314fb0 /pkgs/development/python-modules/python-barcode | |
| parent | 809ffd6cd33b0020c6ac0be57bf25f3da4c17d31 (diff) | |
treewide: migrate python packages to optional-dependencies
This follows the term used by PEP 621.
Diffstat (limited to 'pkgs/development/python-modules/python-barcode')
| -rw-r--r-- | pkgs/development/python-modules/python-barcode/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/python-barcode/default.nix b/pkgs/development/python-modules/python-barcode/default.nix index 165cb5cc5d27..5d64f933b691 100644 --- a/pkgs/development/python-modules/python-barcode/default.nix +++ b/pkgs/development/python-modules/python-barcode/default.nix @@ -23,7 +23,7 @@ buildPythonPackage rec { setuptools-scm ]; - passthru.extras-require = { + passthru.optional-dependencies = { images = [ pillow ]; @@ -38,7 +38,7 @@ buildPythonPackage rec { checkInputs = [ pytestCheckHook - ] ++ passthru.extras-require.images; + ] ++ passthru.optional-dependencies.images; pythonImportsCheck = [ "barcode" ]; |
