summary refs log tree commit diff
path: root/pkgs/development/python-modules/Mako
diff options
context:
space:
mode:
authorMartin Weinelt <hexa@darmstadt.ccc.de>2022-05-22 16:26:11 +0200
committerMartin Weinelt <hexa@darmstadt.ccc.de>2022-05-22 16:31:53 +0200
commit272430c82399d0a2f22b51dd0e564a8709ba6782 (patch)
tree4bc42f8b3229f50b0e2305e0c0895edb63314fb0 /pkgs/development/python-modules/Mako
parent809ffd6cd33b0020c6ac0be57bf25f3da4c17d31 (diff)
treewide: migrate python packages to optional-dependencies
This follows the term used by PEP 621.
Diffstat (limited to 'pkgs/development/python-modules/Mako')
-rw-r--r--pkgs/development/python-modules/Mako/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/Mako/default.nix b/pkgs/development/python-modules/Mako/default.nix
index 5eca80d98a519..a74f9988ad7aa 100644
--- a/pkgs/development/python-modules/Mako/default.nix
+++ b/pkgs/development/python-modules/Mako/default.nix
@@ -30,7 +30,7 @@ buildPythonPackage rec {
     markupsafe
   ];
 
-  passthru.extras-require = {
+  passthru.optional-dependencies = {
     babel = [
       babel
     ];
@@ -39,7 +39,7 @@ buildPythonPackage rec {
   checkInputs = [
     pytestCheckHook
     mock
-  ] ++ passthru.extras-require.babel;
+  ] ++ passthru.optional-dependencies.babel;
 
   disabledTests = lib.optionals isPyPy [
     # https://github.com/sqlalchemy/mako/issues/315