diff options
author | Ludovic Courtès <ludo@gnu.org> | 2008-10-06 18:56:47 +0000 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2008-10-06 18:56:47 +0000 |
commit | d77f3177fe70f2f50d41f251853472971c78e0b5 (patch) | |
tree | b446affeb2a026d56339c8260e2ac55886eeb031 /pkgs/development/python-modules/numeric | |
parent | 9ff6ecf5dda5a23e67d56086953a5768c29c2499 (diff) | |
download | nixlib-d77f3177fe70f2f50d41f251853472971c78e0b5.tar nixlib-d77f3177fe70f2f50d41f251853472971c78e0b5.tar.gz nixlib-d77f3177fe70f2f50d41f251853472971c78e0b5.tar.bz2 nixlib-d77f3177fe70f2f50d41f251853472971c78e0b5.tar.lz nixlib-d77f3177fe70f2f50d41f251853472971c78e0b5.tar.xz nixlib-d77f3177fe70f2f50d41f251853472971c78e0b5.tar.zst nixlib-d77f3177fe70f2f50d41f251853472971c78e0b5.zip |
Add Python Numeric.
svn path=/nixpkgs/trunk/; revision=12975
Diffstat (limited to 'pkgs/development/python-modules/numeric')
-rw-r--r-- | pkgs/development/python-modules/numeric/default.nix | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/numeric/default.nix b/pkgs/development/python-modules/numeric/default.nix new file mode 100644 index 000000000000..e97b2a5f1a40 --- /dev/null +++ b/pkgs/development/python-modules/numeric/default.nix @@ -0,0 +1,40 @@ +{ fetchurl, stdenv, python }: + +let version = "24.2"; in + stdenv.mkDerivation { + name = "python-numeric-${version}"; + + src = fetchurl { + url = "mirror://sourceforge/numpy/Numeric-${version}.tar.gz"; + sha256 = "0n2jy47n3d121pky4a3r0zjmk2vk66czr2x3y9179xbgxclyfwjz"; + }; + + buildInputs = [ python ]; + + buildPhase = ''python setup.py build --build-base "$out"''; + installPhase = '' + python setup.py install --prefix "$out" + + # Remove the `lib.linux-i686-2.5' and `temp.linux-i686-2.5' (or + # similar) directories. + rm -rf $out/lib.* $out/temp.* + ''; + + # FIXME: Run the tests. + + meta = { + description = "Numeric, a Python module for high-performance, numeric computing"; + + longDescription = '' + Numeric is a Python module for high-performance, numeric + computing. It provides much of the functionality and + performance of commercial numeric software such as Matlab; it + some cases, it provides more functionality than commercial + software. + ''; + + license = "Python+LLNL"; + + homepage = http://people.csail.mit.edu/jrennie/python/numeric/; + }; + } \ No newline at end of file |