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