1{ lib 2, buildPythonPackage 3, fetchPypi 4, pytools 5, pytest 6, six 7, sympy 8, pexpect 9, symengine 10}: 11 12buildPythonPackage rec { 13 pname = "pymbolic"; 14 version = "2021.1"; 15 16 src = fetchPypi { 17 inherit pname version; 18 sha256 = "67d08ef95568408901e59f79591ba41fd3f2caaecb42b7497c38fc82fd60358c"; 19 }; 20 21 postConfigure = '' 22 substituteInPlace setup.py \ 23 --replace "\"pytest>=2.3\"," "" 24 ''; 25 26 checkInputs = [ sympy pexpect symengine pytest ]; 27 propagatedBuildInputs = [ 28 pytools 29 six 30 ]; 31 32 # too many tests fail 33 doCheck = false; 34 checkPhase = '' 35 pytest test 36 ''; 37 38 meta = with lib; { 39 description = "A package for symbolic computation"; 40 homepage = "https://mathema.tician.de/software/pymbolic"; 41 license = licenses.mit; 42 maintainers = [ maintainers.costrouc ]; 43 }; 44}