32 lines
745 B
Nix
32 lines
745 B
Nix
{
|
|
buildOctavePackage,
|
|
stdenv,
|
|
lib,
|
|
fetchurl,
|
|
gsl,
|
|
}:
|
|
|
|
buildOctavePackage rec {
|
|
pname = "gsl";
|
|
version = "2.1.1";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz";
|
|
sha256 = "1lvfxbqmw8h1nlrxmvrl6j4xffmbzxfhdpxz3vrc6lg2g4jwaa6h";
|
|
};
|
|
|
|
buildInputs = [
|
|
gsl
|
|
];
|
|
|
|
meta = {
|
|
homepage = "https://gnu-octave.github.io/packages/gsl/";
|
|
license = lib.licenses.gpl2Plus;
|
|
maintainers = with lib.maintainers; [ KarlJoad ];
|
|
description = "Octave bindings to the GNU Scientific Library";
|
|
# error: use of undeclared identifier 'feval'; did you mean 'octave::feval'?
|
|
# error: no member named 'is_real_type' in 'octave_value'
|
|
broken = stdenv.hostPlatform.isDarwin;
|
|
};
|
|
}
|