lol

octave.pkgs.quaternion: init at 2.4.0

authored by

Karl Hallsby and committed by
Doron Behar
d8612d65 00a723b8

+31
+29
pkgs/development/octave-modules/quaternion/default.nix
··· 1 + { buildOctavePackage 2 + , lib 3 + , fetchurl 4 + }: 5 + 6 + buildOctavePackage rec { 7 + pname = "quaternion"; 8 + version = "2.4.0"; 9 + 10 + src = fetchurl { 11 + url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz"; 12 + sha256 = "040ncksf0xz32qmi4484xs3q01nappxrsvwwa60g04yjy7c4sbac"; 13 + }; 14 + 15 + # Octave replaced many of the is_thing_type check function with isthing. 16 + # The patch changes the occurrences of the old functions. 17 + patchPhase = '' 18 + sed -i s/is_numeric_type/isnumeric/g src/*.cc 19 + sed -i s/is_real_type/isreal/g src/*.cc 20 + sed -i s/is_bool_type/islogical/g src/*.cc 21 + ''; 22 + 23 + meta = with lib; { 24 + homepage = "https://octave.sourceforge.io/quaternion/index.html"; 25 + license = licenses.gpl3Plus; 26 + maintainers = with maintainers; [ KarlJoad ]; 27 + description = "Quaternion package for GNU Octave, includes a quaternion class with overloaded operators"; 28 + }; 29 + }
+2
pkgs/top-level/octave-packages.nix
··· 171 171 172 172 parallel = callPackage ../development/octave-modules/parallel { }; 173 173 174 + quaternion = callPackage ../development/octave-modules/quaternion { }; 175 + 174 176 signal = callPackage ../development/octave-modules/signal { }; 175 177 176 178 struct = callPackage ../development/octave-modules/struct { };