1{ buildOctavePackage
2, stdenv
3, lib
4, fetchurl
5, gsl
6}:
7
8buildOctavePackage rec {
9 pname = "gsl";
10 version = "2.1.1";
11
12 src = fetchurl {
13 url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz";
14 sha256 = "1lvfxbqmw8h1nlrxmvrl6j4xffmbzxfhdpxz3vrc6lg2g4jwaa6h";
15 };
16
17 buildInputs = [
18 gsl
19 ];
20
21 meta = with lib; {
22 homepage = "https://octave.sourceforge.io/gsl/index.html";
23 license = licenses.gpl2Plus;
24 maintainers = with maintainers; [ KarlJoad ];
25 description = "Octave bindings to the GNU Scientific Library";
26 # error: use of undeclared identifier 'feval'; did you mean 'octave::feval'?
27 # error: no member named 'is_real_type' in 'octave_value'
28 broken = stdenv.isDarwin;
29 };
30}