2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2018-10-16 22:25:46 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2021-03-24 12:18:40 +00:00
|
|
|
, setuptools-scm
|
2018-10-16 22:25:46 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "mpmath";
|
2021-03-24 09:28:18 +00:00
|
|
|
version = "1.2.1";
|
2018-10-16 22:25:46 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-03-24 09:28:18 +00:00
|
|
|
sha256 = "79ffb45cf9f4b101a807595bcb3e72e0396202e0b1d25d689134b48c4216a81a";
|
2018-10-16 22:25:46 +00:00
|
|
|
};
|
|
|
|
|
2021-03-24 12:18:40 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
setuptools-scm
|
|
|
|
];
|
|
|
|
|
2018-10-16 22:25:46 +00:00
|
|
|
# error: invalid command 'test'
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2021-01-26 00:33:42 +00:00
|
|
|
homepage = "https://mpmath.org/";
|
2018-10-16 22:25:46 +00:00
|
|
|
description = "A pure-Python library for multiprecision floating arithmetic";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ lovek323 ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|