uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead

https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948
this can do it nicely.

Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
Anton Arapov 2021-04-03 12:58:10 +02:00 committed by Alan Daniels
commit 56de2bcd43
30691 changed files with 3076956 additions and 0 deletions

View file

@ -0,0 +1,32 @@
{ buildOctavePackage
, lib
, fetchurl
, instrument-control
, arduino-core-unwrapped
}:
buildOctavePackage rec {
pname = "arduino";
version = "0.7.0";
src = fetchurl {
url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz";
sha256 = "0r0bcq2zkwba6ab6yi6czbhrj4adm9m9ggxmzzcd9h40ckqg6wjv";
};
requiredOctavePackages = [
instrument-control
];
propagatedBuildInputs = [
arduino-core-unwrapped
];
meta = with lib; {
name = "Octave Arduino Toolkit";
homepage = "https://octave.sourceforge.io/arduino/index.html";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ KarlJoad ];
description = "Basic Octave implementation of the matlab arduino extension, allowing communication to a programmed arduino board to control its hardware";
};
}

View file

@ -0,0 +1,36 @@
{ buildOctavePackage
, lib
, fetchurl
, jack2
, alsa-lib
, rtmidi
, pkg-config
}:
buildOctavePackage rec {
pname = "audio";
version = "2.0.3";
src = fetchurl {
url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz";
sha256 = "1431pf7mhxsrnzrx8r3hsy537kha7jhaligmp2rghwyxhq25hs0r";
};
nativeBuildInputs = [
pkg-config
];
propagatedBuildInputs = [
jack2
alsa-lib
rtmidi
];
meta = with lib; {
homepage = "https://octave.sourceforge.io/audio/index.html";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ KarlJoad ];
description = "Audio and MIDI Toolbox for GNU Octave";
platforms = platforms.linux; # Because of run-time dependency on jack2 and alsa-lib
};
}

View file

@ -0,0 +1,28 @@
{ buildOctavePackage
, lib
, fetchurl
, fpl
, msh
}:
buildOctavePackage rec {
pname = "bim";
version = "1.1.5";
src = fetchurl {
url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz";
sha256 = "0y70w8mj80c5yns1j7nwngwwrxp1pa87kyz2n2yvmc3zdigcd6g8";
};
requiredOctavePackages = [
fpl
msh
];
meta = with lib; {
homepage = "https://octave.sourceforge.io/bim/index.html";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ KarlJoad ];
description = "Package for solving Diffusion Advection Reaction (DAR) Partial Differential Equations";
};
}

View file

@ -0,0 +1,21 @@
{ buildOctavePackage
, lib
, fetchurl
}:
buildOctavePackage rec {
pname = "bsltl";
version = "1.3.1";
src = fetchurl {
url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz";
sha256 = "0i8ry347y5f5db3702nhpsmfys9v18ks2fsmpdqpy3fcvrwaxdsb";
};
meta = with lib; {
homepage = "https://octave.sourceforge.io/bsltl/index.html";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ KarlJoad ];
description = "Free collection of OCTAVE/MATLAB routines for working with the biospeckle laser technique";
};
}

View file

@ -0,0 +1,21 @@
{ buildOctavePackage
, lib
, fetchurl
}:
buildOctavePackage rec {
pname = "cgi";
version = "0.1.2";
src = fetchurl {
url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz";
sha256 = "0hygj7cpwrs2w9bfb7qrvv7gq410bfiddqvza8smg766pqmfp1s1";
};
meta = with lib; {
homepage = "https://octave.sourceforge.io/cgi/index.html";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ KarlJoad ];
description = "Common Gateway Interface for Octave";
};
}

View file

@ -0,0 +1,31 @@
{ buildOctavePackage
, lib
, fetchurl
, signal
, hdf5
}:
buildOctavePackage rec {
pname = "communications";
version = "1.2.3";
src = fetchurl {
url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz";
sha256 = "1r4r0cia5l5fann1n78c1qdc6q8nizgb09n2fdwb76xnwjan23g3";
};
buildInputs = [
hdf5
];
requiredOctavePackages = [
signal
];
meta = with lib; {
homepage = "https://octave.sourceforge.io/communications/index.html";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ KarlJoad ];
description = " Digital Communications, Error Correcting Codes (Channel Code), Source Code functions, Modulation and Galois Fields";
};
}

View file

@ -0,0 +1,31 @@
{ buildOctavePackage
, lib
, fetchurl
, gfortran
, lapack, blas
}:
buildOctavePackage rec {
pname = "control";
version = "3.3.1";
src = fetchurl {
url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz";
sha256 = "0vndbzix34vfzdlsz57bgkyg31as4kv6hfg9pwrcqn75bzzjsivw";
};
nativeBuildInputs = [
gfortran
];
buildInputs = [
lapack blas
];
meta = with lib; {
homepage = "https://octave.sourceforge.io/control/index.html";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ KarlJoad ];
description = "Computer-Aided Control System Design (CACSD) Tools for GNU Octave, based on the proven SLICOT Library";
};
}

View file

@ -0,0 +1,26 @@
{ buildOctavePackage
, lib
, fetchurl
, optim
}:
buildOctavePackage rec {
pname = "data-smoothing";
version = "1.3.0";
src = fetchurl {
url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz";
sha256 = "0q0vqdmp8ygyfhk296xbxcpsh5wvpa2kfgv4v0rys68nd2lxfaq1";
};
requiredOctavePackages = [
optim
];
meta = with lib; {
homepage = "https://octave.sourceforge.io/data-smoothing/index.html";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ KarlJoad ];
description = "Algorithms for smoothing noisy data";
};
}

View file

@ -0,0 +1,31 @@
{ buildOctavePackage
, lib
, fetchurl
, struct
, postgresql
}:
buildOctavePackage rec {
pname = "database";
version = "2.4.4";
src = fetchurl {
url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz";
sha256 = "1c0n76adi0jw6bx62s04vjyda6kb6ca8lzz2vam43vdy10prcq9p";
};
propagatedBuildInputs = [
postgresql
];
requiredOctavePackages = [
struct
];
meta = with lib; {
homepage = "https://octave.sourceforge.io/database/index.html";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ KarlJoad ];
description = "Interface to SQL databases, currently only postgresql using libpq";
};
}

View file

@ -0,0 +1,21 @@
{ buildOctavePackage
, lib
, fetchurl
}:
buildOctavePackage rec {
pname = "dataframe";
version = "1.2.0";
src = fetchurl {
url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz";
sha256 = "10ara084gkb7d5vxv9qv7zpj8b4mm5y06nccrdy3skw5nfbb4djx";
};
meta = with lib; {
homepage = "https://octave.sourceforge.io/dataframe/index.html";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ KarlJoad ];
description = "Data manipulation toolbox similar to R data.frame";
};
}

View file

@ -0,0 +1,33 @@
{ buildOctavePackage
, lib
, fetchurl
, gdcm
, cmake
}:
buildOctavePackage rec {
pname = "dicom";
version = "0.4.0";
src = fetchurl {
url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz";
sha256 = "131wn6mrv20np10plirvqia8dlpz3g0aqi3mmn2wyl7r95p3dnza";
};
nativeBuildInputs = [
cmake
];
dontUseCmakeConfigure = true;
propagatedBuildInputs = [
gdcm
];
meta = with lib; {
homepage = "https://octave.sourceforge.io/dicom/index.html";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ KarlJoad ];
description = "Digital communications in medicine (DICOM) file io";
};
}

View file

@ -0,0 +1,21 @@
{ buildOctavePackage
, lib
, fetchurl
}:
buildOctavePackage rec {
pname = "divand";
version = "1.1.2";
src = fetchurl {
url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz";
sha256 = "0nmaz5j37dflz7p4a4lmwzkh7g1gghdh7ccvkbyy0fpgv9lr1amg";
};
meta = with lib; {
homepage = "https://octave.sourceforge.io/divand/index.html";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ KarlJoad ];
description = "Performs an n-dimensional variational analysis (interpolation) of arbitrarily located observations";
};
}

View file

@ -0,0 +1,28 @@
{ buildOctavePackage
, lib
, fetchurl
}:
buildOctavePackage rec {
pname = "doctest";
version = "0.7.0";
src = fetchurl {
url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz";
sha256 = "0hh9izj9ds69bmrvmmj16fd1c4z7733h50c7isl8f714srw26kf4";
};
meta = with lib; {
homepage = "https://octave.sourceforge.io/doctest/index.html";
license = licenses.bsd3;
maintainers = with maintainers; [ KarlJoad ];
description = "Find and run example code within documentation";
longDescription = ''
Find and run example code within documentation. Formatted blocks
of example code are extracted from documentation files and executed
to confirm their output is correct. This can be part of a testing
framework or simply to ensure that documentation stays up-to-date
during software development.
'';
};
}

View file

@ -0,0 +1,26 @@
{ buildOctavePackage
, lib
, fetchurl
, optim
}:
buildOctavePackage rec {
pname = "econometrics";
version = "1.1.2";
src = fetchurl {
url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz";
sha256 = "1srx78k90ycla7yisa9h593n9l8br31lsdxlspra8sxiyq0sbk72";
};
requiredOctavePackages = [
optim
];
meta = with lib; {
homepage = "https://octave.sourceforge.io/econometrics/index.html";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ KarlJoad ];
description = "Econometrics functions including MLE and GMM based techniques";
};
}

View file

@ -0,0 +1,35 @@
{ buildOctavePackage
, lib
, fetchurl
, dolfin
, ffc
, pkg-config
}:
buildOctavePackage rec {
pname = "fem-fenics";
version = "0.0.5";
src = fetchurl {
url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz";
sha256 = "1xd80nnkschldvrqx0wvrg3fzbf8sck8bvq24phr5x49xs7b8x78";
};
nativeBuildInputs = [
pkg-config
];
propagatedBuildInputs = [
dolfin
ffc
];
meta = with lib; {
homepage = "https://octave.sourceforge.io/fem-fenics/index.html";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ KarlJoad ];
description = "Package for the resolution of partial differential equations based on fenics";
# Lots of compilation errors for newer octave versions and syntax errors
broken = true;
};
}

View file

@ -0,0 +1,23 @@
{ buildOctavePackage
, lib
, fetchurl
, io
, statistics
}:
buildOctavePackage rec {
pname = "financial";
version = "0.5.3";
src = fetchurl {
url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz";
sha256 = "0f963yg6pwvrdk5fg7b71ny47gzy48nqxdzj2ngcfrvmb5az4vmf";
};
meta = with lib; {
homepage = "https://octave.sourceforge.io/financial/index.html";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ KarlJoad ];
description = "Monte Carlo simulation, options pricing routines, financial manipulation, plotting functions and additional date manipulation tools";
};
}

View file

@ -0,0 +1,41 @@
{ buildOctavePackage
, lib
, fetchurl
, cfitsio
, hdf5
, pkg-config
}:
buildOctavePackage rec {
pname = "fits";
version = "1.0.7";
src = fetchurl {
url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz";
sha256 = "0jab5wmrpifqphmrfkqcyrlpc0h4y4m735yc3avqqjajz1rl24lm";
};
# Found here: https://build.opensuse.org/package/view_file/science/octave-forge-fits/octave-forge-fits.spec?expand=1
patchPhase = ''
sed -i -s -e 's/D_NINT/octave::math::x_nint/g' src/*.cc
'';
nativeBuildInputs = [
pkg-config
];
buildInputs = [
hdf5
];
propagatedBuildInputs = [
cfitsio
];
meta = with lib; {
homepage = "https://octave.sourceforge.io/fits/index.html";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ KarlJoad ];
description = "Functions for reading, and writing FITS (Flexible Image Transport System) files using cfitsio";
};
}

View file

@ -0,0 +1,21 @@
{ buildOctavePackage
, lib
, fetchurl
}:
buildOctavePackage rec {
pname = "fpl";
version = "1.3.5";
src = fetchurl {
url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz";
sha256 = "0cbpahn9flrv9ppp5xakhwh8vyyy7wzlsz22i3s93yqg9q2bh4ys";
};
meta = with lib; {
homepage = "https://octave.sourceforge.io/fpl/index.html";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ KarlJoad ];
description = "Collection of routines to export data produced by Finite Elements or Finite Volume Simulations in formats used by some visualization programs";
};
}

View file

@ -0,0 +1,21 @@
{ buildOctavePackage
, lib
, fetchurl
}:
buildOctavePackage rec {
pname = "fuzzy-logic-toolkit";
version = "0.4.6";
src = fetchurl {
url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz";
sha256 = "126x0wjjqmwwgynsgjfdh5rlnww5bsl5hxq1xib15i58mrglh5cd";
};
meta = with lib; {
homepage = "https://octave.sourceforge.io/fuzzy-logic-toolkit/index.html";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ KarlJoad ];
description = "A mostly MATLAB-compatible fuzzy logic toolkit for Octave";
};
}

View file

@ -0,0 +1,21 @@
{ buildOctavePackage
, lib
, fetchurl
}:
buildOctavePackage rec {
pname = "ga";
version = "0.10.2";
src = fetchurl {
url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz";
sha256 = "0s5azn4n174avlmh5gw21zfqfkyxkzn4v09q4l9swv7ldmg3mirv";
};
meta = with lib; {
homepage = "https://octave.sourceforge.io/ga/index.html";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ KarlJoad ];
description = "Genetic optimization code";
};
}

View file

@ -0,0 +1,31 @@
{ buildOctavePackage
, lib
, fetchurl
, pkg-config
, nettle
}:
buildOctavePackage rec {
pname = "general";
version = "2.1.1";
src = fetchurl {
url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz";
sha256 = "0jmvczssqz1aa665v9h8k9cchb7mg3n9af6b5kh9b2qcjl4r9l7v";
};
nativeBuildInputs = [
pkg-config
];
buildInputs = [
nettle
];
meta = with lib; {
homepage = "https://octave.sourceforge.io/general/index.html";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ KarlJoad ];
description = "General tools for Octave";
};
}

View file

@ -0,0 +1,27 @@
{ buildOctavePackage
, lib
, fetchurl
}:
buildOctavePackage rec {
pname = "generate_html";
version = "0.3.2";
src = fetchurl {
url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz";
sha256 = "1ai4h7jf9fqi7w565iprzylsh94pg4rhyf51hfj9kfdgdpb1abfs";
};
meta = with lib; {
homepage = "https://octave.sourceforge.io/generate_html/index.html";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ KarlJoad ];
description = "Provides functions for generating HTML pages that contain the help texts for a set of functions";
longDescription = ''
This package provides functions for generating HTML pages that contain
the help texts for a set of functions. The package is designed to be as
general as possible, but also contains convenience functions for generating
a set of pages for entire packages.
'';
};
}

View file

@ -0,0 +1,26 @@
{ buildOctavePackage
, lib
, fetchurl
, matgeom
}:
buildOctavePackage rec {
pname = "geometry";
version = "4.0.0";
src = fetchurl {
url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz";
sha256 = "1zmd97xir62fr5v57xifh2cvna5fg67h9yb7bp2vm3ll04y41lhs";
};
requiredOctavePackages = [
matgeom
];
meta = with lib; {
homepage = "https://octave.sourceforge.io/geometry/index.html";
license = with licenses; [ gpl3Plus boost ];
maintainers = with maintainers; [ KarlJoad ];
description = "Library for extending MatGeom functionality";
};
}

View file

@ -0,0 +1,30 @@
{ 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 = with lib; {
homepage = "https://octave.sourceforge.io/gsl/index.html";
license = licenses.gpl2Plus;
maintainers = with 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.isDarwin;
};
}

View file

@ -0,0 +1,32 @@
{ buildOctavePackage
, lib
, fetchurl
, libv4l
, fltk
}:
buildOctavePackage rec {
pname = "image-acquisition";
version = "0.2.2";
src = fetchurl {
url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz";
sha256 = "1amp6npkddnnz2i5rm6gvn65qrbn0nxzl2cja3dvc2xqg396wrhh";
};
buildInputs = [
libv4l
fltk
];
meta = with lib; {
homepage = "https://octave.sourceforge.io/image-acquisition/index.html";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ KarlJoad ];
description = "Functions to capture images from connected devices";
longDescription = ''
The Octave-forge Image Aquisition package provides functions to
capture images from connected devices. Currently only v4l2 is supported.
'';
};
}

View file

@ -0,0 +1,27 @@
{ buildOctavePackage
, lib
, fetchurl
}:
buildOctavePackage rec {
pname = "image";
version = "2.12.0";
src = fetchurl {
url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz";
sha256 = "1d3kqhbkq9acc29k42fcilfmykk9a0r321mvk46l5iibc7nqrmg7";
};
meta = with lib; {
homepage = "https://octave.sourceforge.io/image/index.html";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ KarlJoad ];
description = "Functions for processing images";
longDescription = ''
The Octave-forge Image package provides functions for processing
images. The package also provides functions for feature extraction,
image statistics, spatial and geometric transformations, morphological
operations, linear filtering, and much more.
'';
};
}

View file

@ -0,0 +1,21 @@
{ buildOctavePackage
, lib
, fetchurl
}:
buildOctavePackage rec {
pname = "instrument-control";
version = "0.7.0";
src = fetchurl {
url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz";
sha256 = "0cdnnbxihz7chdkhkcgy46pvkij43z9alwr88627z7jaiaah6xby";
};
meta = with lib; {
homepage = "https://octave.sourceforge.io/instrument-control/index.html";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ KarlJoad ];
description = "Low level I/O functions for serial, i2c, spi, parallel, tcp, gpib, vxi11, udp and usbtmc interfaces";
};
}

View file

@ -0,0 +1,39 @@
{ buildOctavePackage
, lib
, fetchurl
, mpfr
}:
buildOctavePackage rec {
pname = "interval";
version = "3.2.0";
src = fetchurl {
url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz";
sha256 = "0a0sz7b4y53qgk1xr4pannn4w7xiin2pf74x7r54hrr1wf4abp20";
};
propagatedBuildInputs = [
mpfr
];
meta = with lib; {
homepage = "https://octave.sourceforge.io/interval/index.html";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ KarlJoad ];
description = "Interval arithmetic to evaluate functions over subsets of their domain";
longDescription = ''
The interval package for real-valued interval arithmetic allows one to
evaluate functions over subsets of their domain. All results are verified,
because interval computations automatically keep track of any errors.
These concepts can be used to handle uncertainties, estimate arithmetic
errors and produce reliable results. Also it can be applied to
computer-assisted proofs, constraint programming, and verified computing.
The implementation is based on interval boundaries represented by
binary64 numbers and is conforming to IEEE Std 1788-2015, IEEE standard
for interval arithmetic.
'';
};
}

View file

@ -0,0 +1,32 @@
{ buildOctavePackage
, lib
, fetchurl
, enableJava
, jdk
, unzip
}:
buildOctavePackage rec {
pname = "io";
version = "2.6.3";
src = fetchurl {
url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz";
sha256 = "044y8lfp93fx0592mv6x2ss0nvjkjgvlci3c3ahav76pk1j3rikb";
};
buildInputs = [
(lib.optional enableJava jdk)
];
propagatedBuildInputs = [
unzip
];
meta = with lib; {
homepage = "https://octave.sourceforge.io/io/index.html";
license = with licenses; [ gpl3Plus bsd2 ];
maintainers = with maintainers; [ KarlJoad ];
description = "Input/Output in external formats";
};
}

View file

@ -0,0 +1,57 @@
{ buildOctavePackage
, stdenv
, lib
, fetchgit
, automake
, autoconf
, autoconf-archive
, parallel
}:
buildOctavePackage rec {
pname = "level-set";
version = "2019-04-13";
src = fetchgit {
url = "https://git.code.sf.net/p/octave/${pname}";
rev = "dbf46228a7582eef4fe5470fd00bc5b421dd33a5";
sha256 = "14qwa4j24m2j7njw8gbagkgmp040h6k0h7kyrrzgb9y0jm087qkl";
fetchSubmodules = false;
};
# The monstrosity of a regex below is to ensure that only error() calls are
# corrected to have a %s format specifier. However, logic_error() also
# exists, (a simple regex also matches that), but logic_error() doesn't
# require a format specifier. So, this regex was born to handle that...
patchPhase = ''
substituteInPlace build.sh --replace "level-set-0.3.1" "${pname}-${version}" \
--replace "\`pwd\`" '/build'
sed -i -E 's#[^[:graph:]]error \(# error \(\"%s\", #g' src/*.cpp
'';
nativeBuildInputs = [
automake
autoconf
autoconf-archive
];
requiredOctavePackages = [
parallel
];
preBuild = ''
mkdir -p $out
source ./build.sh
cd -
'';
meta = with lib; {
name = "Level Set";
homepage = "https://octave.sourceforge.io/level-set/index.html";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ KarlJoad ];
description = "Routines for calculating the time-evolution of the level-set equation and extracting geometric information from the level-set function";
# /build/level-set-2019-04-13.tar.gz: Cannot open: No such file or directory
broken = stdenv.isDarwin;
};
}

View file

@ -0,0 +1,22 @@
{ buildOctavePackage
, lib
, fetchurl
}:
buildOctavePackage rec {
pname = "linear-algebra";
version = "2.2.3";
src = fetchurl {
url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz";
sha256 = "1wwjpxp9vjc6lszh0z3kgy4hyzpib8rvvh6b74ijh9qk9r9nmvjk";
};
meta = with lib; {
homepage = "https://octave.sourceforge.io/linear-algebra/index.html";
license = with licenses; [ gpl3Plus lgpl3Plus ];
# They claim to have a FreeBSD license, but none of their code seems to have it.
maintainers = with maintainers; [ KarlJoad ];
description = "Additional linear algebra code, including matrix functions";
};
}

View file

@ -0,0 +1,27 @@
{ buildOctavePackage
, lib
, fetchurl
}:
buildOctavePackage rec {
pname = "lssa";
version = "0.1.4";
src = fetchurl {
url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz";
sha256 = "10h9lzsi7pqh93i7y50b618g05fnbw9n0i505bz5kz4avfa990zh";
};
meta = with lib; {
homepage = "https://octave.sourceforge.io/lssa/index.html";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ KarlJoad ];
description = "Tools to compute spectral decompositions of irregularly-spaced time series";
longDescription = ''
A package implementing tools to compute spectral decompositions of
irregularly-spaced time series. Currently includes functions based off
the Lomb-Scargle periodogram and Adolf Mathias' implementation for R
and C.
'';
};
}

View file

@ -0,0 +1,54 @@
{ buildOctavePackage
, lib
, fetchurl
, fftw
, fftwSinglePrec
, fftwFloat
, fftwLongDouble
, lapack
, blas
, portaudio
, jdk
}:
buildOctavePackage rec {
pname = "ltfat";
version = "2.3.1";
src = fetchurl {
url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz";
sha256 = "0gghh5a4w649ff776wvidfvqas87m0n7rqs960pid1d11bnyqqrh";
};
patches = [
# Fixes a syntax error with performing multiplication.
./syntax-error.patch
];
buildInputs = [
fftw
fftwSinglePrec
fftwFloat
fftwLongDouble
lapack
blas
portaudio
jdk
];
meta = with lib; {
name = "The Large Time-Frequency Analysis Toolbox";
homepage = "https://octave.sourceforge.io/ltfat/index.html";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ KarlJoad ];
description = "Toolbox for working with time-frequency analysis, wavelets and signal processing";
longDescription = ''
The Large Time/Frequency Analysis Toolbox (LTFAT) is a Matlab/Octave
toolbox for working with time-frequency analysis, wavelets and signal
processing. It is intended both as an educational and a computational
tool. The toolbox provides a large number of linear transforms including
Gabor and wavelet transforms along with routines for constructing windows
(filter prototypes) and routines for manipulating coefficients.
'';
};
}

View file

@ -0,0 +1,15 @@
diff --git a/inst/nonstatgab/nsdgt.m b/inst/nonstatgab/nsdgt.m
index ac53963..81656cb 100644
--- a/inst/nonstatgab/nsdgt.m
+++ b/inst/nonstatgab/nsdgt.m
@@ -149,8 +149,8 @@ for ii = 1:N
col = ceil(Lg/M(ii));
temp = zeros(col*M(ii),W,assert_classname(f,g{1}));
- temp([end-floor(Lg/2)+1:end,1:ceil(Lg/2)],:) = bsxfun(@ ...
- times,f(win_range,:),g{ii}(idx));
+ temp([end-floor(Lg/2)+1:end,1:ceil(Lg/2)],:) = bsxfun(@times, ...
+ f(win_range,:),g{ii}(idx));
temp = reshape(temp,M(ii),col,W);
X = squeeze(fft(sum(temp,2)));

View file

@ -0,0 +1,28 @@
{ buildOctavePackage
, lib
, fetchurl
, io # >= 2.2.7
, geometry # >= 4.0.0
}:
buildOctavePackage rec {
pname = "mapping";
version = "1.4.1";
src = fetchurl {
url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz";
sha256 = "0wj0q1rkrqs4qgpjh4vn9kcpdh94pzr6v4jc1vcrjwkp87yjv8c0";
};
requiredOctavePackages = [
io
geometry
];
meta = with lib; {
homepage = "https://octave.sourceforge.io/mapping/index.html";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ KarlJoad ];
description = "Simple mapping and GIS .shp .dxf and raster file functions";
};
}

View file

@ -0,0 +1,21 @@
{ buildOctavePackage
, lib
, fetchurl
}:
buildOctavePackage rec {
pname = "matgeom";
version = "1.2.3";
src = fetchurl {
url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz";
sha256 = "12q66dy4ninhki3jslzcamfblcb3cdkfbbzn3a5har1s212lsfiw";
};
meta = with lib; {
homepage = "https://octave.sourceforge.io/matgeom/index.html";
license = with licenses; [ bsd2 gpl3Plus ];
maintainers = with maintainers; [ KarlJoad ];
description = "Geometry toolbox for 2D/3D geometric computing";
};
}

View file

@ -0,0 +1,32 @@
{ buildOctavePackage
, lib
, fetchurl
# Build-time dependencies
, ncurses # >= 5
, units
}:
buildOctavePackage rec {
pname = "miscellaneous";
version = "1.3.0";
src = fetchurl {
url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz";
sha256 = "10n107njz24ln7v9a1l3dkh7s7vd6qwgbinrj1nl4wflxsir4l9k";
};
buildInputs = [
ncurses
];
propagatedBuildInputs = [
units
];
meta = with lib; {
homepage = "https://octave.sourceforge.io/miscellaneous/index.html";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ KarlJoad ];
description = "Miscellaneous tools that don't fit somewhere else";
};
}

View file

@ -0,0 +1,56 @@
{ buildOctavePackage
, lib
, fetchurl
# Octave Dependencies
, splines
# Other Dependencies
, gmsh
, gawk
, pkg-config
, dolfin
, autoconf, automake
}:
buildOctavePackage rec {
pname = "msh";
version = "1.0.10";
src = fetchurl {
url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz";
sha256 = "1mb5qrp9y1w1cbzrd9v84430ldy57ca843yspnrgbcqpxyyxbgfz";
};
nativeBuildInputs = [
pkg-config
autoconf automake
dolfin
];
buildInputs = [
dolfin
];
propagatedBuildInputs = [
gmsh
gawk
dolfin
];
requiredOctavePackages = [
splines
];
meta = with lib; {
homepage = "https://octave.sourceforge.io/msh/index.html";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ KarlJoad ];
description = "Create and manage triangular and tetrahedral meshes for Finite Element or Finite Volume PDE solvers";
longDescription = ''
Create and manage triangular and tetrahedral meshes for Finite Element or
Finite Volume PDE solvers. Use a mesh data structure compatible with
PDEtool. Rely on gmsh for unstructured mesh generation.
'';
# Not technically broken, but missing some functionality.
# dolfin needs to be its own stand-alone library for the last tests to pass.
};
}

View file

@ -0,0 +1,21 @@
{ buildOctavePackage
, lib
, fetchurl
}:
buildOctavePackage rec {
pname = "mvn";
version = "1.1.0";
src = fetchurl {
url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz";
sha256 = "00w69hxqnqdm3744z6p7gvzci44a3gy228x6bgq3xf5n3jwicnmg";
};
meta = with lib; {
homepage = "https://octave.sourceforge.io/mvn/index.html";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ KarlJoad ];
description = "Multivariate normal distribution clustering and utility functions";
};
}

View file

@ -0,0 +1,26 @@
{ buildOctavePackage
, lib
, fetchurl
, blas
}:
buildOctavePackage rec {
pname = "nan";
version = "3.6.0";
src = fetchurl {
url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz";
sha256 = "1zxdg0yg5jnwq6ppnikd13zprazia6w6zpgw99f62mc03iqk5c4q";
};
buildInputs = [
blas
];
meta = with lib; {
homepage = "https://octave.sourceforge.io/nan/index.html";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ KarlJoad ];
description = "A statistics and machine learning toolbox for data with and w/o missing values";
};
}

View file

@ -0,0 +1,31 @@
{ buildOctavePackage
, lib
, fetchurl
, netcdf
, statistics
}:
buildOctavePackage rec {
pname = "ncarray";
version = "1.0.4";
src = fetchurl {
url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz";
sha256 = "0v96iziikvq2v7hczhbfs9zmk49v99kn6z3lgibqqpwam175yqgd";
};
buildInputs = [
netcdf
];
requiredOctavePackages = [
statistics
];
meta = with lib; {
homepage = "https://octave.sourceforge.io/ncarray/index.html";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ KarlJoad ];
description = "Access a single or a collection of NetCDF files as a multi-dimensional array";
};
}

View file

@ -0,0 +1,26 @@
{ buildOctavePackage
, lib
, fetchurl
, netcdf
}:
buildOctavePackage rec {
pname = "netcdf";
version = "1.0.14";
src = fetchurl {
url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz";
sha256 = "1wdwl76zgcg7kkdxjfjgf23ylzb0x4dyfliffylyl40g6cjym9lf";
};
buildInputs = [
netcdf
];
meta = with lib; {
homepage = "https://octave.sourceforge.io/netcdf/index.html";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ KarlJoad ];
description = "A NetCDF interface for Octave";
};
}

View file

@ -0,0 +1,21 @@
{ buildOctavePackage
, lib
, fetchurl
}:
buildOctavePackage rec {
pname = "nurbs";
version = "1.4.3";
src = fetchurl {
url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz";
sha256 = "16r05av75nvmkz1knf0nv0gj4fcjjf3jnyf94bdgxf84wahncim7";
};
meta = with lib; {
homepage = "https://octave.sourceforge.io/nurbs/index.html";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ KarlJoad ];
description = "Collection of routines for the creation, and manipulation of Non-Uniform Rational B-Splines (NURBS), based on the NURBS toolbox by Mark Spink";
};
}

View file

@ -0,0 +1,29 @@
{ buildOctavePackage
, stdenv
, lib
, fetchurl
}:
buildOctavePackage rec {
pname = "ocl";
version = "1.1.1";
src = fetchurl {
url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz";
sha256 = "0ayi5x9zk9p4zm0qsr3i94lyp5468c9d1a7mqrqjqpdvkhrw0xnm";
};
meta = with lib; {
homepage = "https://octave.sourceforge.io/ocl/index.html";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ KarlJoad ];
description = "Use OpenCL for parallelization";
longDescription = ''
Package using OpenCL for parallelization, mostly suitable to
Single-Instruction-Multiple-Data (SIMD) computations, selectively
using available OpenCL hardware and drivers.
'';
# error: structure has no member 'dir'
broken = stdenv.isDarwin;
};
}

View file

@ -0,0 +1,29 @@
{ buildOctavePackage
, lib
, fetchurl
}:
buildOctavePackage rec {
pname = "octclip";
version = "2.0.1";
src = fetchurl {
url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz";
sha256 = "05ijh3izgfaan84n6zp690nap9vnz0zicjd0cgvd1c6askm7vxql";
};
# The only compilation problem is that no formatting specifier was provided
# for the error function. Because errorText is a string, I provide such a
# formatting specifier.
patchPhase = ''
sed -i s/"error(errorText)"/"error(\"%s\", errorText)"/g src/*.cc
'';
meta = with lib; {
name = "GNU Octave Clipping Polygons Tool";
homepage = "https://octave.sourceforge.io/octclip/index.html";
license = with licenses; [ gpl3Plus ]; # modified BSD?
maintainers = with maintainers; [ KarlJoad ];
description = "Perform boolean operations with polygons using the Greiner-Hormann algorithm";
};
}

View file

@ -0,0 +1,33 @@
{ buildOctavePackage
, lib
, fetchurl
, proj # >= 6.3.0
}:
buildOctavePackage rec {
pname = "octproj";
version = "2.0.1";
src = fetchurl {
url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz";
sha256 = "1mb8gb0r8kky47ap85h9qqdvs40mjp3ya0nkh45gqhy67ml06paq";
};
# The sed changes below allow for the package to be compiled.
patchPhase = ''
sed -i s/"error(errorText)"/"error(\"%s\", errorText)"/g src/*.cc
sed -i s/"warning(errorText)"/"warning(\"%s\", errorText)"/g src/*.cc
'';
propagatedBuildInputs = [
proj
];
meta = with lib; {
homepage = "https://octave.sourceforge.io/octproj/index.html";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ KarlJoad ];
description = "GNU Octave bindings to PROJ library for cartographic projections and CRS transformations";
broken = true; # error: unlink: operation failed: No such file or directory
};
}

View file

@ -0,0 +1,21 @@
{ buildOctavePackage
, lib
, fetchurl
}:
buildOctavePackage rec {
pname = "optics";
version = "0.1.4";
src = fetchurl {
url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz";
sha256 = "1d9z82241a1zmr8m1vgw10pyk81vn0q4dcyx7d05pigfn5gykrgc";
};
meta = with lib; {
homepage = "https://octave.sourceforge.io/optics/index.html";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ KarlJoad ];
description = "Functions covering various aspects of optics";
};
}

View file

@ -0,0 +1,36 @@
{ buildOctavePackage
, lib
, fetchurl
, struct
, statistics
, lapack
, blas
}:
buildOctavePackage rec {
pname = "optim";
version = "1.6.1";
src = fetchurl {
url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz";
sha256 = "1175bckiryz0i6zm8zvq7y5rq3lwkmhyiky1gbn33np9qzxcsl3i";
};
buildInputs = [
lapack
blas
];
requiredOctavePackages = [
struct
statistics
];
meta = with lib; {
homepage = "https://octave.sourceforge.io/optim/index.html";
license = with licenses; [ gpl3Plus publicDomain ];
# Modified BSD code seems removed
maintainers = with maintainers; [ KarlJoad ];
description = "Non-linear optimization toolkit";
};
}

View file

@ -0,0 +1,31 @@
{ buildOctavePackage
, lib
, fetchurl
, gfortran
}:
buildOctavePackage rec {
pname = "optiminterp";
version = "0.3.6";
src = fetchurl {
url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz";
sha256 = "05nzj2jmrczbnsr64w2a7kww19s6yialdqnsbg797v11ii7aiylc";
};
nativeBuildInputs = [
gfortran
];
meta = with lib; {
homepage = "https://octave.sourceforge.io/optiminterp/index.html";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ KarlJoad ];
description = "An optimal interpolation toolbox for octave";
longDescription = ''
An optimal interpolation toolbox for octave. This package provides
functions to perform a n-dimensional optimal interpolations of
arbitrarily distributed data points.
'';
};
}

View file

@ -0,0 +1,36 @@
{ buildOctavePackage
, lib
, fetchurl
, struct
, gnutls
, pkg-config
}:
buildOctavePackage rec {
pname = "parallel";
version = "4.0.1";
src = fetchurl {
url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz";
sha256 = "1h8vw2r42393px6dk10y3lhpxl168r9d197f9whz6lbk2rg571pa";
};
nativeBuildInputs = [
pkg-config
];
buildInputs = [
gnutls
];
requiredOctavePackages = [
struct
];
meta = with lib; {
homepage = "https://octave.sourceforge.io/parallel/index.html";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ KarlJoad ];
description = "Parallel execution package";
};
}

View file

@ -0,0 +1,29 @@
{ buildOctavePackage
, lib
, fetchurl
}:
buildOctavePackage rec {
pname = "quaternion";
version = "2.4.0";
src = fetchurl {
url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz";
sha256 = "040ncksf0xz32qmi4484xs3q01nappxrsvwwa60g04yjy7c4sbac";
};
# Octave replaced many of the is_thing_type check function with isthing.
# The patch changes the occurrences of the old functions.
patchPhase = ''
sed -i s/is_numeric_type/isnumeric/g src/*.cc
sed -i s/is_real_type/isreal/g src/*.cc
sed -i s/is_bool_type/islogical/g src/*.cc
'';
meta = with lib; {
homepage = "https://octave.sourceforge.io/quaternion/index.html";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ KarlJoad ];
description = "Quaternion package for GNU Octave, includes a quaternion class with overloaded operators";
};
}

View file

@ -0,0 +1,32 @@
{ buildOctavePackage
, lib
, fetchurl
}:
buildOctavePackage rec {
pname = "queueing";
version = "1.2.7";
src = fetchurl {
url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz";
sha256 = "1yhw277i1qgmddf6wbfb6a4zrfhvplkmfr20q1l15z4xi8afnm6d";
};
meta = with lib; {
homepage = "https://octave.sourceforge.io/queueing/index.html";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ KarlJoad ];
description = "Provides functions for queueing networks and Markov chains analysis";
longDescription = ''
The queueing package provides functions for queueing networks and Markov
chains analysis. This package can be used to compute steady-state
performance measures for open, closed and mixed networks with single or
multiple job classes. Mean Value Analysis (MVA), convolution, and various
bounding techniques are implemented. Furthermore, several transient and
steady-state performance measures for Markov chains can be computed, such
as state occupancy probabilities, mean time to absorption, time-averaged
sojourn times and so forth. Discrete- and continuous-time Markov chains
are supported.
'';
};
}

View file

@ -0,0 +1,26 @@
{ buildOctavePackage
, lib
, fetchurl
, control
}:
buildOctavePackage rec {
pname = "signal";
version = "1.4.1";
src = fetchurl {
url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz";
sha256 = "1amfh7ifjqxz2kr34hgq2mq8ygmd5j3cjdk1k2dk6qcgic7n0y6r";
};
requiredOctavePackages = [
control
];
meta = with lib; {
homepage = "https://octave.sourceforge.io/signal/index.html";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ KarlJoad ];
description = "Signal processing tools, including filtering, windowing and display functions";
};
}

View file

@ -0,0 +1,21 @@
{ buildOctavePackage
, lib
, fetchurl
}:
buildOctavePackage rec {
pname = "sockets";
version = "1.2.1";
src = fetchurl {
url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz";
sha256 = "18f1zpqcf6h9b4fb0x2c5nvc3mvgj1141f1s8d9gnlhlrjlq8vqg";
};
meta = with lib; {
homepage = "https://octave.sourceforge.io/sockets/index.html";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ KarlJoad ];
description = "Socket functions for networking from within octave";
};
}

View file

@ -0,0 +1,26 @@
{ buildOctavePackage
, lib
, fetchurl
, librsb
}:
buildOctavePackage rec {
pname = "sparsersb";
version = "1.0.9";
src = fetchurl {
url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz";
sha256 = "0jyy2m7wylzyjqj9n6mjizhj0ccq8xnxm2g6pdlrmncxq1401khd";
};
propagatedBuildInputs = [
librsb
];
meta = with lib; {
homepage = "https://octave.sourceforge.io/sparsersb/index.html";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ KarlJoad ];
description = "Interface to the librsb package implementing the RSB sparse matrix format for fast shared-memory sparse matrix computations";
};
}

View file

@ -0,0 +1,21 @@
{ buildOctavePackage
, lib
, fetchurl
}:
buildOctavePackage rec {
pname = "splines";
version = "1.3.4";
src = fetchurl {
url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz";
sha256 = "11a34f6a7615fc8x1smk3lx8vslilx4mrxi8f01la3wq68khnq5f";
};
meta = with lib; {
homepage = "https://octave.sourceforge.io/splines/index.html";
license = with licenses; [ gpl3Plus publicDomain ];
maintainers = with maintainers; [ KarlJoad ];
description = "Additional spline functions";
};
}

View file

@ -0,0 +1,26 @@
{ buildOctavePackage
, lib
, fetchurl
, io
}:
buildOctavePackage rec {
pname = "statistics";
version = "1.4.2";
src = fetchurl {
url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz";
sha256 = "0iv2hw3zp7h69n8ncfjfgm29xaihdl5gp2slcw1yf23mhd7q2xkr";
};
requiredOctavePackages = [
io
];
meta = with lib; {
homepage = "https://octave.sourceforge.io/statistics/index.html";
license = with licenses; [ gpl3Plus publicDomain ];
maintainers = with maintainers; [ KarlJoad ];
description = "Additional statistics functions for Octave";
};
}

View file

@ -0,0 +1,32 @@
{ buildOctavePackage
, lib
, fetchurl
}:
buildOctavePackage rec {
pname = "stk";
version = "2.6.1";
src = fetchurl {
url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz";
sha256 = "1rqndfankwlwm4igw3xqpnrrl749zz1d5pjzh1qbfns7ixwrm19a";
};
meta = with lib; {
homepage = "https://octave.sourceforge.io/stk/index.html";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ KarlJoad ];
description = "STK is a (not so) Small Toolbox for Kriging";
longDescription = ''
The STK is a (not so) Small Toolbox for Kriging. Its primary focus is on
the interpolation/regression technique known as kriging, which is very
closely related to Splines and Radial Basis Functions, and can be
interpreted as a non-parametric Bayesian method using a Gaussian Process
(GP) prior. The STK also provides tools for the sequential and non-sequential
design of experiments. Even though it is, currently, mostly geared towards
the Design and Analysis of Computer Experiments (DACE), the STK can be
useful for other applications areas (such as Geostatistics, Machine
Learning, Non-parametric Regression, etc.).
'';
};
}

View file

@ -0,0 +1,40 @@
{ buildOctavePackage
, stdenv
, lib
, fetchurl
, pcre
}:
buildOctavePackage rec {
pname = "strings";
version = "1.2.0";
src = fetchurl {
url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz";
sha256 = "1b0ravfvq3bxd0w3axjfsx13mmmkifmqz6pfdgyf2s8vkqnp1qng";
};
buildInputs = [
pcre
];
# The gripes library no longer exists.
# https://build.opensuse.org/package/view_file/openSUSE:Backports:SLE-15-SP3/octave-forge-strings/octave-forge-strings.spec
# toascii is a deprecated function. Has been fixed in recent commits, but has
# not been released yet.
# https://sourceforge.net/p/octave/strings/ci/2db1dbb75557eef94605cb4ac682783ab78ac8d8/
patchPhase = ''
sed -i -s -e 's/gripes.h/errwarn.h/' -e 's/gripe_/err_/g' src/*.cc
sed -i s/toascii/double/g inst/*.m
'';
meta = with lib; {
homepage = "https://octave.sourceforge.io/strings/index.html";
license = licenses.gpl3Plus;
# Claims to have a freebsd license, but I found none.
maintainers = with maintainers; [ KarlJoad ];
description = "Additional functions for manipulation and analysis of strings";
# Some pcre symbols claimed to be missing
broken = stdenv.isDarwin;
};
}

View file

@ -0,0 +1,21 @@
{ buildOctavePackage
, lib
, fetchurl
}:
buildOctavePackage rec {
pname = "struct";
version = "1.0.17";
src = fetchurl {
url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz";
sha256 = "0cw4cspkm553v019zsj2bsmal0i378pm0hv29w82j3v5vysvndq1";
};
meta = with lib; {
homepage = "https://octave.sourceforge.io/struct/index.html";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ KarlJoad ];
description = "Additional structure manipulation functions";
};
}

View file

@ -0,0 +1,35 @@
{ buildOctavePackage
, lib
, fetchFromGitHub
# Octave's Python (Python 3)
, python
}:
let
pythonEnv = python.withPackages (ps: [
ps.sympy
ps.mpmath
]);
in buildOctavePackage rec {
pname = "symbolic";
version = "unstable-2021-10-16";
# https://github.com/cbm755/octsympy/issues/1023 has been resolved, however
# a new release has not been made
src = fetchFromGitHub {
owner = "cbm755";
repo = "octsympy";
rev = "5b58530f4ada78c759829ae703a0e5d9832c32d4";
sha256 = "sha256-n6P1Swjl4RfgxfLY0ZuN3pcL8PcoknA6yxbnw96OZ2k=";
};
propagatedBuildInputs = [ pythonEnv ];
meta = with lib; {
homepage = "https://octave.sourceforge.io/symbolic/index.html";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ KarlJoad ];
description = "Adds symbolic calculation features to GNU Octave";
};
}

View file

@ -0,0 +1,36 @@
{ buildOctavePackage
, stdenv
, lib
, fetchurl
# Octave dependencies
, signal # >= 1.3.0
# Build dependencies
, gfortran
}:
buildOctavePackage rec {
pname = "tisean";
version = "0.2.3";
src = fetchurl {
url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz";
sha256 = "0nc2d9h91glxzmpizxdrc2dablw4bqhqhzs37a394c36myk4xjdv";
};
nativeBuildInputs = [
gfortran
];
requiredOctavePackages = [
signal
];
meta = with lib; {
homepage = "https://octave.sourceforge.io/tisean/index.html";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ KarlJoad ];
description = "Port of TISEAN 3.0.1";
# Some gfortran symbols claimed to be missing
broken = stdenv.isDarwin;
};
}

View file

@ -0,0 +1,26 @@
{ buildOctavePackage
, lib
, fetchurl
, nan # > 3.0.0
}:
buildOctavePackage rec {
pname = "tsa";
version = "4.6.3";
src = fetchurl {
url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz";
sha256 = "1pbxq77xc7pn0ki6rpijlq9v7inn0hn2adkx1skgwffl7pivrwsl";
};
requiredOctavePackages = [
nan
];
meta = with lib; {
homepage = "https://octave.sourceforge.io/tsa/index.html";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ KarlJoad ];
description = "Stochastic concepts and maximum entropy methods for time series analysis";
};
}

View file

@ -0,0 +1,39 @@
{ buildOctavePackage
, lib
, fetchurl
, vibes
}:
buildOctavePackage rec {
pname = "vibes";
version = "0.2.0";
src = fetchurl {
url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz";
sha256 = "1zn86rcsjkqg67hphz5inxc5xkgr18sby8za68zhppc2z7pd91ng";
};
buildInputs = [
vibes
];
meta = with lib; {
homepage = "https://octave.sourceforge.io/vibes/index.html";
license = with licenses; [ gpl3Plus mit ];
maintainers = with maintainers; [ KarlJoad ];
description = "Easily display results (boxes, pavings) from interval methods";
longDescription = ''
The VIBes API allows one to easily display results (boxes, pavings) from
interval methods. VIBes consists in two parts: (1) the VIBes application
that features viewing, annotating and exporting figures, and (2) the
VIBes API that enables your program to communicate with the viewer in order
to draw figures. This package integrates the VIBes API into Octave. The
VIBes application is required for operation and must be installed
seperately. Data types from third-party interval arithmetic libraries for
Octave are also supported.
'';
# Marked this way until KarlJoad gets around to packaging the vibes program.
# https://github.com/ENSTABretagneRobotics/VIBES
broken = true;
};
}

View file

@ -0,0 +1,34 @@
{ buildOctavePackage
, stdenv
, lib
, fetchurl
, pkg-config
, ffmpeg
}:
buildOctavePackage rec {
pname = "video";
version = "2.0.0";
src = fetchurl {
url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz";
sha256 = "0s6j3c4dh5nsbh84s7vnd2ajcayy1gn07b4fcyrcynch3wl28mrv";
};
nativeBuildInputs = [
pkg-config
];
propagatedBuildInputs = [
ffmpeg
];
meta = with lib; {
homepage = "https://octave.sourceforge.io/video/index.html";
license = with licenses; [ gpl3Plus bsd3 ];
maintainers = with maintainers; [ KarlJoad ];
description = "Wrapper for OpenCV's CvCapture_FFMPEG and CvVideoWriter_FFMPEG";
# error: declaration of 'panic' has a different language linkage
broken = stdenv.isDarwin;
};
}

View file

@ -0,0 +1,41 @@
{ buildOctavePackage
, lib
, fetchurl
# Octave dependencies
, linear-algebra
, miscellaneous
, struct
, statistics
# Runtime dependencies
, freewrl
}:
buildOctavePackage rec {
pname = "vrml";
version = "1.0.13";
src = fetchurl {
url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz";
sha256 = "1mx93k150agd27mbzvds13v9z0x36j68hwpdvlvjmcl2fga5fly4";
};
propagatedBuildInputs = [
freewrl
];
requiredOctavePackages = [
linear-algebra
miscellaneous
struct
statistics
];
meta = with lib; {
homepage = "https://octave.sourceforge.io/vrml/index.html";
license = with licenses; [ gpl3Plus fdl12Plus ];
maintainers = with maintainers; [ KarlJoad ];
description = "3D graphics using VRML";
# Marked this way until KarlJoad gets freewrl as a runtime dependency.
broken = true;
};
}

View file

@ -0,0 +1,21 @@
{ buildOctavePackage
, lib
, fetchurl
}:
buildOctavePackage rec {
pname = "windows";
version = "1.6.1";
src = fetchurl {
url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz";
sha256 = "110dh6jz088c4fxp9gw79kfib0dl7r3rkcavxx4xpk7bjl2l3xb6";
};
meta = with lib; {
homepage = "https://octave.sourceforge.io/windows/index.html";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ KarlJoad ];
description = "Provides COM interface and additional functionality on Windows";
};
}

View file

@ -0,0 +1,41 @@
{ buildOctavePackage
, lib
, fetchurl
, zeromq
, pkg-config
, autoreconfHook
}:
buildOctavePackage rec {
pname = "zeromq";
version = "1.5.3";
src = fetchurl {
url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz";
sha256 = "1h0pb2pqbnyiavf7r05j8bqxqd8syz16ab48hc74nlnx727anfwl";
};
preAutoreconf = ''
cd src
'';
postAutoreconf = ''
cd ..
'';
nativeBuildInputs = [
pkg-config
autoreconfHook
];
propagatedBuildInputs = [
zeromq
];
meta = with lib; {
homepage = "https://octave.sourceforge.io/zeromq/index.html";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ KarlJoad ];
description = "ZeroMQ bindings for GNU Octave";
};
}