python.pkgs.simplejson: disable tests with python 3
This commit is contained in:
parent
ad1d37f211
commit
bc3346cbab
@ -2,6 +2,8 @@
|
|||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, stdenv
|
, stdenv
|
||||||
|
, isPy3k
|
||||||
|
, pytest
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
@ -14,6 +16,14 @@ buildPythonPackage rec {
|
|||||||
sha256 = "b1f329139ba647a9548aa05fb95d046b4a677643070dc2afc05fa2e975d09ca5";
|
sha256 = "b1f329139ba647a9548aa05fb95d046b4a677643070dc2afc05fa2e975d09ca5";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Package does not need pytest, but its a bit easier debugging.
|
||||||
|
checkInputs = [ pytest ];
|
||||||
|
# Ignore warnings because test does not expect them in stderr
|
||||||
|
# See https://github.com/simplejson/simplejson/issues/241
|
||||||
|
checkPhase = ''
|
||||||
|
PYTHONWARNINGS="ignore" pytest simplejson/tests
|
||||||
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "A simple, fast, extensible JSON encoder/decoder for Python";
|
description = "A simple, fast, extensible JSON encoder/decoder for Python";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user