nixpkgs/pkgs/development/python-modules/sympy/default.nix

34 lines
670 B
Nix
Raw Normal View History

2018-02-03 12:00:50 +00:00
{ lib
, buildPythonPackage
, fetchPypi
, glibcLocales
, mpmath
}:
buildPythonPackage rec {
pname = "sympy";
2018-02-03 12:04:09 +00:00
version = "1.1.1";
2018-02-03 12:00:50 +00:00
src = fetchPypi {
inherit pname version;
2018-02-03 12:04:09 +00:00
sha256 = "ac5b57691bc43919dcc21167660a57cc51797c28a4301a6144eff07b751216a4";
2018-02-03 12:00:50 +00:00
};
checkInputs = [ glibcLocales ];
propagatedBuildInputs = [ mpmath ];
# Bunch of failures including transients.
doCheck = false;
preCheck = ''
export LANG="en_US.UTF-8"
'';
meta = {
description = "A Python library for symbolic mathematics";
homepage = http://www.sympy.org/;
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ lovek323 ];
};
}