about summary refs log tree commit diff
path: root/pkgs/development/python-modules/arpeggio
diff options
context:
space:
mode:
authorFrederik Rietdijk <fridh@fridh.nl>2019-10-17 09:24:37 +0200
committerFrederik Rietdijk <fridh@fridh.nl>2019-10-18 09:54:03 +0200
commita6604df8fdef36aec085bf4351001577904d7f9c (patch)
treed1b2df801aefbd85dec0be89aeefa4cecf010da8 /pkgs/development/python-modules/arpeggio
parent8a37580fc7ce51bc376f68ea39dda99594e69f49 (diff)
pythonPackages.arpeggio: fix build
Diffstat (limited to 'pkgs/development/python-modules/arpeggio')
-rw-r--r--pkgs/development/python-modules/arpeggio/default.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/arpeggio/default.nix b/pkgs/development/python-modules/arpeggio/default.nix
index 65cbd577e35fc..42d1ce0a219aa 100644
--- a/pkgs/development/python-modules/arpeggio/default.nix
+++ b/pkgs/development/python-modules/arpeggio/default.nix
@@ -2,6 +2,8 @@
 , buildPythonPackage
 , fetchPypi
 , glibcLocales
+, pytestrunner
+, pytestCheckHook
 }:
 
 buildPythonPackage rec {
@@ -17,6 +19,14 @@ buildPythonPackage rec {
   LC_ALL = "en_US.UTF-8";
   buildInputs = [ glibcLocales ];
 
+  nativeBuildInputs = [ pytestrunner ];
+
+  checkInputs = [ pytestCheckHook ];
+
+  disabledTests = [ "test_examples" "test_issue_22" ];
+
+  dontUseSetuptoolsCheck = true;
+
   meta = {
     description = "Packrat parser interpreter";
     license = lib.licenses.mit;