nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 20.03 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 = "2019.2"; 15 16 src = fetchPypi { 17 inherit pname version; 18 sha256 = "a7507864a76574d72bf5732497b247661c6ad73bb277cd9c8aae09e90a62e05a"; 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}