Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.09 44 lines 807 B view raw
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 = "2018.1"; 15 16 src = fetchPypi { 17 inherit pname version; 18 sha256 = "a47d5524d6a3cdc8a028079ce632eeb45ceea7243272d234f250622087688207"; 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}