git.iko.soy/typeable/nixpkgs
on master help sign in
gsl: 1.16 -> 2.1

Release notes : – gsl-2.0: https://savannah.gnu.org/forum/forum.php?forum_id=8392 — gsl-2.1: https://savannah.gnu.org/forum/forum.php?forum_id=8408 The bug-39055.patch is removed since it seems to be integrated in the 2.1 release.

commitd39f9e867466d1829f38a0fff7c31b94b057cd1a authorLancelot SIX <lsix@lancelotsix.com> dateTue 17 Nov 2015, 14:09 (11 years ago) parentdf9f0d7
3 files changed+46−9
pkgs/development/libraries/gsl/default.nix+2−7 pkgs/development/libraries/gsl/gsl-1_16.nix+39 pkgs/top-level/all-packages.nix+5−2
pkgs/development/libraries/gsl/default.nix+2−7
@@ -1,21 +1,16 @@
11{ fetchurl, fetchpatch, stdenv }:
22
33stdenv.mkDerivation rec {
4− name = "gsl-1.16";
4+ name = "gsl-2.1";
55
66 src = fetchurl {
77 url = "mirror://gnu/gsl/${name}.tar.gz";
8− sha256 = "0lrgipi0z6559jqh82yx8n4xgnxkhzj46v96dl77hahdp58jzg3k";
8+ sha256 = "0rhcia9jhr3p1f1wybwyllwqfs9bggz99i3mi5lpyqcpff1hdbar";
99 };
1010
1111 patches = [
1212 # ToDo: there might be more impurities than FMA support check
1313 ./disable-fma.patch # http://lists.gnu.org/archive/html/bug-gsl/2011-11/msg00019.html
14− (fetchpatch {
15− name = "bug-39055.patch";
16− url = "http://git.savannah.gnu.org/cgit/gsl.git/patch/?id=9cc12d";
17− sha256 = "1bmrmihi28cly9g9pq54kkix2jy59y7cd7h5fw4v1c7h5rc2qvs8";
18− })
1914 ];
2015
2116 doCheck = true;
pkgs/development/libraries/gsl/gsl-1_16.nixnew file+39
@@ -0,0 +1,39 @@
1+{ fetchurl, fetchpatch, stdenv }:
2+
3+stdenv.mkDerivation rec {
4+ name = "gsl-1.16";
5+
6+ src = fetchurl {
7+ url = "mirror://gnu/gsl/${name}.tar.gz";
8+ sha256 = "0lrgipi0z6559jqh82yx8n4xgnxkhzj46v96dl77hahdp58jzg3k";
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+ (fetchpatch {
15+ name = "bug-39055.patch";
16+ url = "http://git.savannah.gnu.org/cgit/gsl.git/patch/?id=9cc12d";
17+ sha256 = "1bmrmihi28cly9g9pq54kkix2jy59y7cd7h5fw4v1c7h5rc2qvs8";
18+ })
19+ ];
20+
21+ doCheck = true;
22+
23+ meta = {
24+ description = "The GNU Scientific Library, a large numerical library";
25+ homepage = http://www.gnu.org/software/gsl/;
26+ license = stdenv.lib.licenses.gpl3Plus;
27+
28+ longDescription = ''
29+ The GNU Scientific Library (GSL) is a numerical library for C
30+ and C++ programmers. It is free software under the GNU General
31+ Public License.
32+
33+ The library provides a wide range of mathematical routines such
34+ as random number generators, special functions and least-squares
35+ fitting. There are over 1000 functions in total with an
36+ extensive test suite.
37+ '';
38+ };
39+}
pkgs/top-level/all-packages.nix+5−2
@@ -563,6 +563,7 @@ let
563563
564564 asymptote = callPackage ../tools/graphics/asymptote {
565565 texLive = texlive.combine { inherit (texlive) scheme-small epsf cm-super; };
566+ gsl = gsl_1;
566567 };
567568
568569 atomicparsley = callPackage ../tools/video/atomicparsley { };
@@ -1995,7 +1996,7 @@ let
19951996
19961997 kpcli = callPackage ../tools/security/kpcli { };
19971998
1998− kst = callPackage ../tools/graphics/kst { };
1999+ kst = callPackage ../tools/graphics/kst { gsl = gsl_1; };
19992000
20002001 leocad = callPackage ../applications/graphics/leocad { };
20012002
@@ -6571,6 +6572,8 @@ let
65716572
65726573 gsl = callPackage ../development/libraries/gsl { };
65736574
6575+ gsl_1 = callPackage ../development/libraries/gsl/gsl-1_16.nix { };
6576+
65746577 gsm = callPackage ../development/libraries/gsm {};
65756578
65766579 gsoap = callPackage ../development/libraries/gsoap { };
@@ -12608,7 +12611,7 @@ let
1260812611
1260912612 opusTools = callPackage ../applications/audio/opus-tools { };
1261012613
12611− orpie = callPackage ../applications/misc/orpie { };
12614+ orpie = callPackage ../applications/misc/orpie { gsl = gsl_1; };
1261212615
1261312616 osmo = callPackage ../applications/office/osmo { };
1261412617