summary refs log tree commit diff
path: root/pkgs/development/octave-modules/vrml/default.nix
blob: e46e621b80d9abe2d79f30013f3bbca5ca47117d (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
{ 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;
  };
}