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 commit49e0bbb333, reversing changes made to2f2a55496a.
This commit is contained in:
@@ -3,7 +3,6 @@
|
||||
, fetchPypi
|
||||
, fetchpatch
|
||||
, docutils
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@@ -26,7 +25,8 @@ buildPythonPackage rec {
|
||||
|
||||
propagatedBuildInputs = [ docutils ];
|
||||
|
||||
checkInputs = [ pytestCheckHook ];
|
||||
# Circular dependency with sphinx
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
homepage = "https://pygments.org/";
|
||||
|
||||
@@ -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/";
|
||||
|
||||
Reference in New Issue
Block a user