octavePackages.quaternion: 2.4.1 -> 2.4.2
This commit is contained in:
@@ -6,21 +6,13 @@
|
||||
|
||||
buildOctavePackage rec {
|
||||
pname = "quaternion";
|
||||
version = "2.4.1";
|
||||
version = "2.4.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz";
|
||||
sha256 = "sha256-kY5mU7dJuUjprub+LTc1BH6YGdEnP9ydX0lRU0fmOYE=";
|
||||
sha256 = "sha256-S8tkdDlyaT8E7W0v6kkGs4qTU/G4DG5vLQvA9vjPOgc=";
|
||||
};
|
||||
|
||||
# Octave replaced many of the is_thing_type check function with isthing.
|
||||
# The patch changes the occurrences of the old functions.
|
||||
patchPhase = ''
|
||||
sed -i s/is_numeric_type/isnumeric/g src/*.cc
|
||||
sed -i s/is_real_type/isreal/g src/*.cc
|
||||
sed -i s/is_bool_type/islogical/g src/*.cc
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = "https://gnu-octave.github.io/packages/quaternion/";
|
||||
license = lib.licenses.gpl3Plus;
|
||||
|
||||
Reference in New Issue
Block a user