1{ buildOctavePackage
2, lib
3, fetchurl
4, fftw
5, fftwSinglePrec
6, fftwFloat
7, fftwLongDouble
8, lapack
9, blas
10, portaudio
11, jdk
12}:
13
14buildOctavePackage rec {
15 pname = "ltfat";
16 version = "2.5.0";
17
18 src = fetchurl {
19 url = "https://github.com/ltfat/ltfat/releases/download/v${version}/${pname}-${version}-of.tar.gz";
20 sha256 = "sha256-8AqEDEfgYwftKUj8ynFQzBa3G3zTdhNtsZ2bW16DV7Q=";
21 };
22
23 buildInputs = [
24 fftw
25 fftwSinglePrec
26 fftwFloat
27 fftwLongDouble
28 lapack
29 blas
30 portaudio
31 jdk
32 ];
33
34 meta = with lib; {
35 name = "The Large Time-Frequency Analysis Toolbox";
36 homepage = "https://octave.sourceforge.io/ltfat/index.html";
37 license = licenses.gpl3Plus;
38 maintainers = with maintainers; [ KarlJoad ];
39 description = "Toolbox for working with time-frequency analysis, wavelets and signal processing";
40 longDescription = ''
41 The Large Time/Frequency Analysis Toolbox (LTFAT) is a Matlab/Octave
42 toolbox for working with time-frequency analysis, wavelets and signal
43 processing. It is intended both as an educational and a computational
44 tool. The toolbox provides a large number of linear transforms including
45 Gabor and wavelet transforms along with routines for constructing windows
46 (filter prototypes) and routines for manipulating coefficients.
47 '';
48 };
49}