about summary refs log tree commit diff
path: root/pkgs/development/python-modules/pegen/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/pegen/default.nix')
-rw-r--r--pkgs/development/python-modules/pegen/default.nix41
1 files changed, 20 insertions, 21 deletions
diff --git a/pkgs/development/python-modules/pegen/default.nix b/pkgs/development/python-modules/pegen/default.nix
index 4f348a2f00976..55628d53983d4 100644
--- a/pkgs/development/python-modules/pegen/default.nix
+++ b/pkgs/development/python-modules/pegen/default.nix
@@ -1,11 +1,12 @@
-{ lib
-, buildPythonPackage
-, fetchFromGitHub
-, pytestCheckHook
-, pythonAtLeast
-, pythonOlder
-, setuptools
-, setuptools-scm
+{
+  lib,
+  buildPythonPackage,
+  fetchFromGitHub,
+  pytestCheckHook,
+  pythonAtLeast,
+  pythonOlder,
+  setuptools,
+  setuptools-scm,
 }:
 
 buildPythonPackage rec {
@@ -27,21 +28,19 @@ buildPythonPackage rec {
     setuptools-scm
   ];
 
-  nativeCheckInputs = [
-    pytestCheckHook
-  ];
+  nativeCheckInputs = [ pytestCheckHook ];
 
-  pythonImportsCheck = [
-    "pegen"
-  ];
+  pythonImportsCheck = [ "pegen" ];
 
-  disabledTests = [
-    # ValueError: Expected locations of (1, 3) and...
-    "test_invalid_call_arguments"
-  ] ++ lib.optionals (pythonAtLeast "3.11") [
-    # https://github.com/we-like-parsers/pegen/issues/89
-    "test_invalid_def_stmt"
-  ];
+  disabledTests =
+    [
+      # ValueError: Expected locations of (1, 3) and...
+      "test_invalid_call_arguments"
+    ]
+    ++ lib.optionals (pythonAtLeast "3.11") [
+      # https://github.com/we-like-parsers/pegen/issues/89
+      "test_invalid_def_stmt"
+    ];
 
   meta = with lib; {
     description = "Library to generate PEG parsers";