octavePackages.nurbs: 1.3.13 -> 1.4.3 (#127758)

This commit is contained in:
Karl H 2021-06-22 08:01:20 -05:00 committed by GitHub
parent 64f945278d
commit 76d2fd44d0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,22 +5,13 @@
buildOctavePackage rec {
pname = "nurbs";
version = "1.3.13";
version = "1.4.3";
src = fetchurl {
url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz";
sha256 = "0zkyldm63pc3pcal3yvj6af24cvpjvv9qfhf0ihhwcsh4w3yggyv";
sha256 = "16r05av75nvmkz1knf0nv0gj4fcjjf3jnyf94bdgxf84wahncim7";
};
# Has been fixed in more recent commits, but has not been pushed out as a
# new version yet.
# The sed changes allow nurbs to compile.
patchPhase = ''
sed -i s/feval/octave::feval/g src/*.cc
sed -i s/is_real_type/isreal/g src/*.cc
sed -i s/is_cell/iscell/g src/*.cc
'';
meta = with lib; {
homepage = "https://octave.sourceforge.io/nurbs/index.html";
license = licenses.gpl3Plus;