···11-{ fetchurl, fetchpatch, lib, stdenv }:
22-33-stdenv.mkDerivation rec {
44- pname = "gsl";
55- version = "1.16";
66-77- src = fetchurl {
88- url = "mirror://gnu/gsl/gsl-${version}.tar.gz";
99- sha256 = "0lrgipi0z6559jqh82yx8n4xgnxkhzj46v96dl77hahdp58jzg3k";
1010- };
1111-1212- # do not let -march=skylake to enable FMA (https://lists.gnu.org/archive/html/bug-gsl/2011-11/msg00019.html)
1313- NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isx86_64 "-mno-fma";
1414-1515- patches = [
1616- (fetchpatch {
1717- name = "bug-39055.patch";
1818- url = "https://git.savannah.gnu.org/cgit/gsl.git/patch/?id=9cc12d";
1919- sha256 = "1bmrmihi28cly9g9pq54kkix2jy59y7cd7h5fw4v1c7h5rc2qvs8";
2020- })
2121-2222- (fetchpatch {
2323- name = "fix-parallel-test.patch";
2424- url = "https://git.savannah.gnu.org/cgit/gsl.git/patch/?id=12654373c3b60541230921aae81f93b484ec5eaf";
2525- sha256 = "1flzpbsfj7gjywv6v9qvm8wpdrkbpj7shryinfdpb40y7si9njdw";
2626- })
2727- ];
2828-2929- enableParallelBuilding = true;
3030- doCheck = true;
3131-3232- meta = {
3333- description = "The GNU Scientific Library, a large numerical library";
3434- homepage = "https://www.gnu.org/software/gsl/";
3535- license = lib.licenses.gpl3Plus;
3636-3737- longDescription = ''
3838- The GNU Scientific Library (GSL) is a numerical library for C
3939- and C++ programmers. It is free software under the GNU General
4040- Public License.
4141-4242- The library provides a wide range of mathematical routines such
4343- as random number generators, special functions and least-squares
4444- fitting. There are over 1000 functions in total with an
4545- extensive test suite.
4646- '';
4747- platforms = lib.platforms.unix;
4848- # Failing "eigen" tests on aarch64.
4949- badPlatforms = [ "aarch64-linux" ];
5050- };
5151-}
+1
pkgs/top-level/aliases.nix
···582582 gr-rds = gnuradio3_7.pkgs.rds; # Added 2019-05-27, changed 2020-10-16
583583 grv = throw "grv has been dropped due to the lack of maintanence from upstream since 2019"; # Added 2022-06-01
584584 gsettings_desktop_schemas = throw "'gsettings_desktop_schemas' has been renamed to/replaced by 'gsettings-desktop-schemas'"; # Converted to throw 2022-02-22
585585+ gsl_1 = throw "'gsl_1' has been renamed to/replaced by 'gsl'"; # Added 2022-11-19
585586 gtk_doc = throw "'gtk_doc' has been renamed to/replaced by 'gtk-doc'"; # Converted to throw 2022-02-22
586587 gtklick = throw "gtklick has been removed from nixpkgs as the project is stuck on python2"; # Added 2022-01-01
587588 gtmess = throw "gtmess has been removed, because it was a MSN client."; # add 2021-12-15