python310Packages.pymbolic: enable tests

main
Sandro Jäckel 2 years ago
parent 2578b89c84
commit 93cb80377c
No known key found for this signature in database
GPG Key ID: B1763F8651144063
  1. 25
      pkgs/development/python-modules/pymbolic/default.nix

@ -1,12 +1,9 @@
{ lib
, buildPythonPackage
, fetchPypi
, matchpy
, pytools
, pytest
, six
, sympy
, pexpect
, symengine
, pytestCheckHook
}:
buildPythonPackage rec {
@ -18,26 +15,18 @@ buildPythonPackage rec {
sha256 = "sha256-tS9FHdC5gD4D3jMgrzt85XIwcAYcbSMcACFvbaQlkBI=";
};
postConfigure = ''
substituteInPlace setup.py \
--replace "\"pytest>=2.3\"," ""
'';
checkInputs = [ sympy pexpect symengine pytest ];
propagatedBuildInputs = [
pytools
six
];
# too many tests fail
doCheck = false;
checkPhase = ''
pytest test
'';
checkInputs = [
matchpy
pytestCheckHook
];
meta = with lib; {
description = "A package for symbolic computation";
homepage = "https://mathema.tician.de/software/pymbolic";
homepage = "https://documen.tician.de/pymbolic/";
license = licenses.mit;
maintainers = [ maintainers.costrouc ];
};

Loading…
Cancel
Save