summaryrefslogtreecommitdiffstats
path: root/pkgs/development/python-modules/python-barcode/default.nix
diff options
context:
space:
mode:
authorMartin Weinelt <mweinelt@users.noreply.github.com>2022-05-23 01:35:24 +0200
committerGitHub <noreply@github.com>2022-05-23 01:35:24 +0200
commitbc38fcac7d0fd9aba0af3b8ae897ca7ff6b09383 (patch)
tree1da4cee63a6427720548b85723246b72fa28f4c6 /pkgs/development/python-modules/python-barcode/default.nix
parentf01320c21335bf2e240ce3b75e94ac33dfcb7fbd (diff)
parent272430c82399d0a2f22b51dd0e564a8709ba6782 (diff)
Merge pull request #174000 from mweinelt/pep621-optional-dependencies
Diffstat (limited to 'pkgs/development/python-modules/python-barcode/default.nix')
-rw-r--r--pkgs/development/python-modules/python-barcode/default.nix4
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" ];