From 01ed35dc5fdae139434ae705366e616123364a07 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Thu, 18 Dec 2008 09:18:36 +0000 Subject: GSL 1.12. svn path=/nixpkgs/trunk/; revision=13656 --- pkgs/development/libraries/gsl/default.nix | 33 ++++++++++++++++++++++-------- 1 file changed, 25 insertions(+), 8 deletions(-) (limited to 'pkgs/development/libraries/gsl') diff --git a/pkgs/development/libraries/gsl/default.nix b/pkgs/development/libraries/gsl/default.nix index 6e76e3a93802..71c4ddcdad80 100644 --- a/pkgs/development/libraries/gsl/default.nix +++ b/pkgs/development/libraries/gsl/default.nix @@ -1,15 +1,32 @@ -args: with args; -stdenv.mkDerivation { - name = "gsl-1.11"; +{ fetchurl, stdenv }: + +stdenv.mkDerivation rec { + name = "gsl-1.12"; src = fetchurl { - url = ftp://ftp.gnu.org/gnu/gsl/gsl-1.11.tar.gz; - sha256 = "1c8ijbykgm6w8q0a1j3bfjdd9764fcw9v709bv7pqrgimq3ya4bn"; + url = "mirror://gnu/gsl/${name}.tar.gz"; + sha256 = "1fdpqw981gcc0wkvcacm16mrrsq5f4jdq395zk59lxjcsa492092"; }; + doCheck = true; + + configureFlags = "--disable-static"; + meta = { - description = "numerical library (>1000 functions)"; - homepage = http://www.gnu.org/software/gsl; - license = "GPL2"; + description = "The GNU Scientific Library, a large numerical library"; + + longDescription = '' + The GNU Scientific Library (GSL) is a numerical library for C + and C++ programmers. It is free software under the GNU General + Public License. + + The library provides a wide range of mathematical routines such + as random number generators, special functions and least-squares + fitting. There are over 1000 functions in total with an + extensive test suite. + ''; + + homepage = http://www.gnu.org/software/gsl/; + license = "GPLv3+"; }; } -- cgit 1.4.1