pythonPackages.mpmath: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-16 18:25:46 -04:00 committed by Frederik Rietdijk
parent 99ec6e3c08
commit 2c30da5ec1
2 changed files with 27 additions and 20 deletions

View File

@ -0,0 +1,26 @@
{ stdenv
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "mpmath";
version = "0.19";
src = fetchPypi {
inherit pname version;
sha256 = "08ijsr4ifrqv3cjc26mkw0dbvyygsa99in376hr4b96ddm1gdpb8";
};
# error: invalid command 'test'
doCheck = false;
meta = with stdenv.lib; {
homepage = http://mpmath.googlecode.com;
description = "A pure-Python library for multiprecision floating arithmetic";
license = licenses.bsd3;
maintainers = with maintainers; [ lovek323 ];
platforms = platforms.unix;
};
}

View File

@ -2822,26 +2822,7 @@ in {
mozsvc = callPackage ../development/python-modules/mozsvc { };
mpmath = buildPythonPackage rec {
name = "mpmath-0.19";
src = pkgs.fetchurl {
url = "mirror://pypi/m/mpmath/${name}.tar.gz";
sha256 = "08ijsr4ifrqv3cjc26mkw0dbvyygsa99in376hr4b96ddm1gdpb8";
};
meta = {
homepage = http://mpmath.googlecode.com;
description = "A pure-Python library for multiprecision floating arithmetic";
license = licenses.bsd3;
maintainers = with maintainers; [ lovek323 ];
platforms = platforms.unix;
};
# error: invalid command 'test'
doCheck = false;
};
mpmath = callPackage ../development/python-modules/mpmath { };
mpd = buildPythonPackage rec {
name = "python-mpd-0.3.0";