summary refs log tree commit diff
path: root/pkgs/development/octave-modules/parallel/default.nix
blob: 45c57d72f20fb54a72e4d224c892d857666287b2 (plain) (blame)
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
, 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";
  };
  patches = [
    ../database/c_verror.patch
  ];

  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";
    # Although upstream has added an identical patch to that of ../database, it
    # still won't build with octave>8.1
    broken = true;
  };
}