1{ lib 2, buildPythonPackage 3, fetchPypi 4, setuptools-scm 5}: 6 7buildPythonPackage rec { 8 pname = "mpmath"; 9 version = "1.2.1"; 10 11 src = fetchPypi { 12 inherit pname version; 13 sha256 = "79ffb45cf9f4b101a807595bcb3e72e0396202e0b1d25d689134b48c4216a81a"; 14 }; 15 16 nativeBuildInputs = [ 17 setuptools-scm 18 ]; 19 20 # error: invalid command 'test' 21 doCheck = false; 22 23 meta = with lib; { 24 homepage = "https://mpmath.org/"; 25 description = "A pure-Python library for multiprecision floating arithmetic"; 26 license = licenses.bsd3; 27 maintainers = with maintainers; [ lovek323 ]; 28 platforms = platforms.unix; 29 }; 30 31}