summaryrefslogtreecommitdiffstats
path: root/pkgs/development/octave-modules/signal/default.nix
blob: 3b9a42edd8906590285579b8fb7a32241878f232 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
{
  buildOctavePackage,
  lib,
  fetchFromGitHub,
  control,
  gnuplot,
  makeFontsConf,
  writableTmpDirAsHomeHook,
  nix-update-script,
}:

buildOctavePackage rec {
  pname = "signal";
  version = "1.4.8";

  src = fetchFromGitHub {
    owner = "gnu-octave";
    repo = "octave-signal";
    tag = version;
    sha256 = "sha256-0Nq/3TDsJ9b14so99z8Y9864JZThfORn4Bc8rtfMnBk=";
  };

  requiredOctavePackages = [
    control
  ];

  nativeOctavePkgTestInputs = [
    gnuplot
    writableTmpDirAsHomeHook
  ];

  octavePkgTestEnv.FONTCONFIG_FILE = makeFontsConf { fontDirectories = [ ]; };

  __structuredAttrs = true;

  meta = {
    homepage = "https://gnu-octave.github.io/packages/signal/";
    license = lib.licenses.gpl3Plus;
    maintainers = with lib.maintainers; [ ravenjoad ];
    description = "Signal processing tools, including filtering, windowing and display functions";
  };
}