summary refs log tree commit diff
path: root/pkgs/development/python-modules/Pygments/default.nix
diff options
context:
space:
mode:
authorFrederik Rietdijk <fridh@fridh.nl>2021-04-03 17:45:02 +0200
committerFrederik Rietdijk <fridh@fridh.nl>2021-04-03 17:45:02 +0200
commitdc2638276b9b1e70b513b48869086d23d1169152 (patch)
treee185507b7017f244e20238384447f1121032b53d /pkgs/development/python-modules/Pygments/default.nix
parent827f7a3e43f80b2d0886cadbd3eb4d1bc154568f (diff)
downloadnixpkgs-dc2638276b9b1e70b513b48869086d23d1169152.tar
nixpkgs-dc2638276b9b1e70b513b48869086d23d1169152.tar.gz
nixpkgs-dc2638276b9b1e70b513b48869086d23d1169152.tar.bz2
nixpkgs-dc2638276b9b1e70b513b48869086d23d1169152.tar.lz
nixpkgs-dc2638276b9b1e70b513b48869086d23d1169152.tar.xz
nixpkgs-dc2638276b9b1e70b513b48869086d23d1169152.tar.zst
nixpkgs-dc2638276b9b1e70b513b48869086d23d1169152.zip
Revert "Merge pull request #117886 from risicle/ris-pygments-tests"
This is a pattern that should be avoided. So far hypothesis is the only
package using it if I am correct, let's not add more. Instead, we should solve the underlying issue.
That is, we build, install and test within one derivation. That we should split up.
Doing this more will only result in trouble.

This reverts commit 49e0bbb333ad0f55a8dd24d61c57e4ebde45db08, reversing
changes made to 2f2a55496a21b20ae7ad9b8b193c83b90ff8256a.
Diffstat (limited to 'pkgs/development/python-modules/Pygments/default.nix')
-rw-r--r--pkgs/development/python-modules/Pygments/default.nix6
1 files changed, 2 insertions, 4 deletions
diff --git a/pkgs/development/python-modules/Pygments/default.nix b/pkgs/development/python-modules/Pygments/default.nix
index 48d74fddd43..a879aef0226 100644
--- a/pkgs/development/python-modules/Pygments/default.nix
+++ b/pkgs/development/python-modules/Pygments/default.nix
@@ -2,8 +2,6 @@
 , buildPythonPackage
 , fetchPypi
 , docutils
-, pytestCheckHook
-, doCheck ? true
 }:
 
 buildPythonPackage rec {
@@ -17,8 +15,8 @@ buildPythonPackage rec {
 
   propagatedBuildInputs = [ docutils ];
 
-  inherit doCheck;
-  checkInputs = [ pytestCheckHook ];
+  # Circular dependency with sphinx
+  doCheck = false;
 
   meta = {
     homepage = "https://pygments.org/";