about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/mpmath/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/mpmath/default.nix')
-rw-r--r--nixpkgs/pkgs/development/python-modules/mpmath/default.nix31
1 files changed, 31 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/mpmath/default.nix b/nixpkgs/pkgs/development/python-modules/mpmath/default.nix
new file mode 100644
index 000000000000..59ebfc7091e3
--- /dev/null
+++ b/nixpkgs/pkgs/development/python-modules/mpmath/default.nix
@@ -0,0 +1,31 @@
+{ lib
+, buildPythonPackage
+, fetchPypi
+, setuptools-scm
+}:
+
+buildPythonPackage rec {
+  pname = "mpmath";
+  version = "1.2.1";
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "79ffb45cf9f4b101a807595bcb3e72e0396202e0b1d25d689134b48c4216a81a";
+  };
+
+  nativeBuildInputs = [
+    setuptools-scm
+  ];
+
+  # error: invalid command 'test'
+  doCheck = false;
+
+  meta = with lib; {
+    homepage    = "https://mpmath.org/";
+    description = "A pure-Python library for multiprecision floating arithmetic";
+    license     = licenses.bsd3;
+    maintainers = with maintainers; [ lovek323 ];
+    platforms   = platforms.unix;
+  };
+
+}