at 18.03-beta 35 lines 1.2 kB view raw
1{ fetchurl, fetchpatch, stdenv }: 2 3stdenv.mkDerivation rec { 4 name = "gsl-2.4"; 5 6 src = fetchurl { 7 url = "mirror://gnu/gsl/${name}.tar.gz"; 8 sha256 = "16yfs5n444s03np1naj6yp1fsysd42kdscxzkg0k2yvfjixx0ijd"; 9 }; 10 11 patches = [ 12 # ToDo: there might be more impurities than FMA support check 13 ./disable-fma.patch # http://lists.gnu.org/archive/html/bug-gsl/2011-11/msg00019.html 14 ]; 15 16 doCheck = stdenv.system != "i686-linux"; # https://lists.gnu.org/archive/html/bug-gsl/2015-11/msg00012.html 17 18 meta = { 19 description = "The GNU Scientific Library, a large numerical library"; 20 homepage = http://www.gnu.org/software/gsl/; 21 license = stdenv.lib.licenses.gpl3Plus; 22 23 longDescription = '' 24 The GNU Scientific Library (GSL) is a numerical library for C 25 and C++ programmers. It is free software under the GNU General 26 Public License. 27 28 The library provides a wide range of mathematical routines such 29 as random number generators, special functions and least-squares 30 fitting. There are over 1000 functions in total with an 31 extensive test suite. 32 ''; 33 platforms = stdenv.lib.platforms.unix; 34 }; 35}