3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/sympy/default.nix
2020-01-10 21:02:12 -08:00

36 lines
711 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, fetchpatch
, glibcLocales
, mpmath
}:
buildPythonPackage rec {
pname = "sympy";
version = "1.5"; # Upgrades may break sage. Please test or ping @timokau.
src = fetchPypi {
inherit pname version;
sha256 = "1s4w7q8gndim2ky825a84jmwcf7ryfn10wm8yxz9dw5z2307smii";
};
checkInputs = [ glibcLocales ];
propagatedBuildInputs = [ mpmath ];
# tests take ~1h
doCheck = false;
preCheck = ''
export LANG="en_US.UTF-8"
'';
meta = {
description = "A Python library for symbolic mathematics";
homepage = https://www.sympy.org/;
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ lovek323 timokau ];
};
}