Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
41 lines
857 B
Nix
41 lines
857 B
Nix
{ 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;
|
|
};
|
|
}
|