python3Packages.amply: fix tests

This commit is contained in:
Jonathan Ringer 2020-11-05 15:19:14 -08:00
parent 022b8690d1
commit 94d2943d87

View File

@ -4,6 +4,7 @@
, setuptools_scm , setuptools_scm
, docutils , docutils
, pyparsing , pyparsing
, pytestCheckHook
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -15,15 +16,13 @@ buildPythonPackage rec {
sha256 = "cb12dcb49d16b168c02be128a1527ecde50211e4bd94af76ff4e67707f5a2d38"; sha256 = "cb12dcb49d16b168c02be128a1527ecde50211e4bd94af76ff4e67707f5a2d38";
}; };
buildInputs = [ setuptools_scm ]; nativeBuildInputs = [ setuptools_scm ];
propagatedBuildInputs = [ propagatedBuildInputs = [
docutils docutils
pyparsing pyparsing
]; ];
checkInputs = [ pytestCheckHook ];
checkPhase = ''
python tests/test_amply.py
'';
pythonImportsCheck = [ "amply" ]; pythonImportsCheck = [ "amply" ];
meta = with stdenv.lib; { meta = with stdenv.lib; {