diff options
author | Karl Hallsby <karl@hallsby.com> | 2021-01-06 12:15:44 -0600 |
---|---|---|
committer | Doron Behar <doron.behar@gmail.com> | 2021-02-24 21:00:52 +0200 |
commit | 487f5ba20d275a10fe707605916dc3e1bd410201 (patch) | |
tree | 30aa49e5463b45af199a4103e7198717e88b4cc9 | |
parent | 97ac699883f575385b086cf10c2584d92854b64a (diff) |
octave.pkgs.vrml: init at 1.0.13
-rw-r--r-- | pkgs/development/octave-modules/vrml/default.nix | 41 | ||||
-rw-r--r-- | pkgs/top-level/octave-packages.nix | 4 |
2 files changed, 45 insertions, 0 deletions
diff --git a/pkgs/development/octave-modules/vrml/default.nix b/pkgs/development/octave-modules/vrml/default.nix new file mode 100644 index 0000000000000..e46e621b80d9a --- /dev/null +++ b/pkgs/development/octave-modules/vrml/default.nix @@ -0,0 +1,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; + }; +} diff --git a/pkgs/top-level/octave-packages.nix b/pkgs/top-level/octave-packages.nix index f8fc6151c828c..253f081318c5e 100644 --- a/pkgs/top-level/octave-packages.nix +++ b/pkgs/top-level/octave-packages.nix @@ -211,4 +211,8 @@ makeScope newScope (self: video = callPackage ../development/octave-modules/video { }; + vrml = callPackage ../development/octave-modules/vrml { + freewrl = null; + }; + }) |