mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 17:25:11 +00:00
34 lines
670 B
Nix
34 lines
670 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, glibcLocales
|
|
, mpmath
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "sympy";
|
|
version = "1.1.1";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "ac5b57691bc43919dcc21167660a57cc51797c28a4301a6144eff07b751216a4";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
} |