···23 # corrected to have a %s format specifier. However, logic_error() also
24 # exists, (a simple regex also matches that), but logic_error() doesn't
25 # require a format specifier. So, this regex was born to handle that...
26- patchPhase = ''
27 substituteInPlace build.sh --replace "level-set-0.3.1" "${pname}-${version}" \
28 --replace "\`pwd\`" '/build'
29 sed -i -E 's#[^[:graph:]]error \(# error \(\"%s\", #g' src/*.cpp
···51 license = licenses.gpl3Plus;
52 maintainers = with maintainers; [ KarlJoad ];
53 description = "Routines for calculating the time-evolution of the level-set equation and extracting geometric information from the level-set function";
54- # /build/level-set-2019-04-13.tar.gz: Cannot open: No such file or directory
55- broken = stdenv.isDarwin;
56 };
57}
···23 # corrected to have a %s format specifier. However, logic_error() also
24 # exists, (a simple regex also matches that), but logic_error() doesn't
25 # require a format specifier. So, this regex was born to handle that...
26+ postPatch = ''
27 substituteInPlace build.sh --replace "level-set-0.3.1" "${pname}-${version}" \
28 --replace "\`pwd\`" '/build'
29 sed -i -E 's#[^[:graph:]]error \(# error \(\"%s\", #g' src/*.cpp
···51 license = licenses.gpl3Plus;
52 maintainers = with maintainers; [ KarlJoad ];
53 description = "Routines for calculating the time-evolution of the level-set equation and extracting geometric information from the level-set function";
54+ # Got broke with octave 8.x update, and wasn't updated since 2019
55+ broken = true;
56 };
57}