pythonPackages.mpmath: refactor move to python-modules
This commit is contained in:
parent
99ec6e3c08
commit
2c30da5ec1
26
pkgs/development/python-modules/mpmath/default.nix
Normal file
26
pkgs/development/python-modules/mpmath/default.nix
Normal 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
@ -2822,26 +2822,7 @@ in {
|
|||||||
|
|
||||||
mozsvc = callPackage ../development/python-modules/mozsvc { };
|
mozsvc = callPackage ../development/python-modules/mozsvc { };
|
||||||
|
|
||||||
mpmath = buildPythonPackage rec {
|
mpmath = callPackage ../development/python-modules/mpmath { };
|
||||||
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;
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
mpd = buildPythonPackage rec {
|
mpd = buildPythonPackage rec {
|
||||||
name = "python-mpd-0.3.0";
|
name = "python-mpd-0.3.0";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user