8 buildOctavePackage rec {
12 src = fetchFromBitbucket {
15 rev = "OctPROJ-${version}";
16 sha256 = "sha256-d/Zf172Etj+GA0cnGsQaKMjOmirE7Hwyj4UECpg7QFM=";
19 # The sed changes below allow for the package to be compiled.
21 sed -i s/"error(errorText)"/"error(\"%s\", errorText)"/g src/*.cc
22 sed -i s/"warning(errorText)"/"warning(\"%s\", errorText)"/g src/*.cc
25 propagatedBuildInputs = [
30 homepage = "https://octave.sourceforge.io/octproj/index.html";
31 license = licenses.gpl3Plus;
32 maintainers = with maintainers; [ KarlJoad ];
33 description = "GNU Octave bindings to PROJ library for cartographic projections and CRS transformations";