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