diff options
author | Karl Hallsby <karl@hallsby.com> | 2022-12-23 10:49:46 -0600 |
---|---|---|
committer | Doron Behar <doron.behar@gmail.com> | 2023-03-22 20:22:56 +0200 |
commit | 45b015a1650f7b89b3148c9fff3a7029d7d35be9 (patch) | |
tree | dc00799b0599cf3332bddf73c5a2c0cc9645ad4f /pkgs/development/octave-modules | |
parent | 525ba3e492446e6928d12c0ab79519924afe29d6 (diff) |
octavePackages: use alternative fetchers for moved projects
Many projects moved from SourceForge to other hosting sites. Use an appropriate fetcher for each of the packages that have moved to the new sites. octavePackages.bim: fetchurl -> fetchFromGitHub There was a migration from SourceForge to GitHub by the authors. octavePackages.msh: fetchurl -> fetchFromGitHub There was a migration from SourceForge to GitHub by the authors. octavePackages.statistics: fetchurl -> fetchFromGitHub There was a migration from SourceForge to GitHub by the authors. octavePackages.octclip: fetchurl -> fetchFromBitbucket There was a migration from SourceForge to Bitbucket by the authors. octavePackages.geometry: fetchurl -> fetchhg Release 4.0.0 is broken. Revision 04965cda30b5f9e51774194c67879e7336df1710 was made shortly thereafter, fixing a compilation bug. The bug in question: polygon.cpp:208:22: error: static assertion failed: comparison object must be invocable as const is_invocable_v<const _Compare&, const _Key&, const _Key&>, octavePackages.octproj: fetchurl -> fetchFromBitbucket There was a migration from SourceForge to Bitbucket by the authors.
Diffstat (limited to 'pkgs/development/octave-modules')
-rw-r--r-- | pkgs/development/octave-modules/bim/default.nix | 10 | ||||
-rw-r--r-- | pkgs/development/octave-modules/geometry/default.nix | 11 | ||||
-rw-r--r-- | pkgs/development/octave-modules/msh/default.nix | 10 | ||||
-rw-r--r-- | pkgs/development/octave-modules/octclip/default.nix | 10 | ||||
-rw-r--r-- | pkgs/development/octave-modules/octproj/default.nix | 10 | ||||
-rw-r--r-- | pkgs/development/octave-modules/statistics/default.nix | 10 |
6 files changed, 36 insertions, 25 deletions
diff --git a/pkgs/development/octave-modules/bim/default.nix b/pkgs/development/octave-modules/bim/default.nix index 56865493e46b7..dc018ae6143ea 100644 --- a/pkgs/development/octave-modules/bim/default.nix +++ b/pkgs/development/octave-modules/bim/default.nix @@ -1,6 +1,6 @@ { buildOctavePackage , lib -, fetchurl +, fetchFromGitHub , fpl , msh }: @@ -9,9 +9,11 @@ buildOctavePackage rec { pname = "bim"; version = "1.1.6"; - src = fetchurl { - url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz"; - sha256 = "sha256-pv64swrPlgopBlubpAlfoD9KJlOSgF9wdbgdHHTcr9c="; + src = fetchFromGitHub { + owner = "carlodefalco"; + repo = "bim"; + rev = "v${version}"; + sha256 = "sha256-hgFb1KFE1KJC8skIaeT/7h/fg1aqRpedGnEPY24zZSI="; }; requiredOctavePackages = [ diff --git a/pkgs/development/octave-modules/geometry/default.nix b/pkgs/development/octave-modules/geometry/default.nix index b4bf57262faec..86ef985fd1b0d 100644 --- a/pkgs/development/octave-modules/geometry/default.nix +++ b/pkgs/development/octave-modules/geometry/default.nix @@ -1,16 +1,17 @@ { buildOctavePackage , lib -, fetchurl +, fetchhg , matgeom }: buildOctavePackage rec { pname = "geometry"; - version = "4.0.0"; + version = "unstable-2021-07-07"; - src = fetchurl { - url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz"; - sha256 = "1zmd97xir62fr5v57xifh2cvna5fg67h9yb7bp2vm3ll04y41lhs"; + src = fetchhg { + url = "http://hg.code.sf.net/p/octave/${pname}"; + rev = "04965cda30b5f9e51774194c67879e7336df1710"; + sha256 = "sha256-ECysYOJMF4gPiCFung9hFSlyyO60X3MGirQ9FlYDix8="; }; requiredOctavePackages = [ diff --git a/pkgs/development/octave-modules/msh/default.nix b/pkgs/development/octave-modules/msh/default.nix index 8ce1341419c07..e147b9a9c2a2e 100644 --- a/pkgs/development/octave-modules/msh/default.nix +++ b/pkgs/development/octave-modules/msh/default.nix @@ -1,6 +1,6 @@ { buildOctavePackage , lib -, fetchurl +, fetchFromGitHub # Octave Dependencies , splines # Other Dependencies @@ -15,9 +15,11 @@ buildOctavePackage rec { pname = "msh"; version = "1.0.12"; - src = fetchurl { - url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz"; - sha256 = "sha256-7xbB+RXq5SE7Ke5rNwSo/mqdSZTzCLXRhS4zdfGz55s="; + src = fetchFromGitHub { + owner = "carlodefalco"; + repo = "msh"; + rev = "v${version}"; + sha256 = "sha256-UnMrIruzm3ARoTgUlMMxfjTOMZw/znZUQJmj3VEOw8I="; }; nativeBuildInputs = [ diff --git a/pkgs/development/octave-modules/octclip/default.nix b/pkgs/development/octave-modules/octclip/default.nix index d8c607c391bd5..c70a5ffc137ac 100644 --- a/pkgs/development/octave-modules/octclip/default.nix +++ b/pkgs/development/octave-modules/octclip/default.nix @@ -1,15 +1,17 @@ { buildOctavePackage , lib -, fetchurl +, fetchFromBitbucket }: buildOctavePackage rec { pname = "octclip"; version = "2.0.3"; - src = fetchurl { - url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz"; - sha256 = "sha256-u6wvCibdkLgmC8Q2LlpVLfXR3LYtssYlO2cRqYPmmR8="; + src = fetchFromBitbucket { + owner = "jgpallero"; + repo = pname; + rev = "OctCLIP-${version}"; + sha256 = "sha256-gG2b8Ix6bzO6O7GRACE81JCVxfXW/+ZdfoniigAEq3g="; }; # The only compilation problem is that no formatting specifier was provided diff --git a/pkgs/development/octave-modules/octproj/default.nix b/pkgs/development/octave-modules/octproj/default.nix index 0f76ab6847086..3769f7f675b54 100644 --- a/pkgs/development/octave-modules/octproj/default.nix +++ b/pkgs/development/octave-modules/octproj/default.nix @@ -1,6 +1,6 @@ { buildOctavePackage , lib -, fetchurl +, fetchFromBitbucket , proj # >= 6.3.0 }: @@ -8,9 +8,11 @@ buildOctavePackage rec { pname = "octproj"; version = "3.0.2"; - src = fetchurl { - url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz"; - sha256 = "sha256-G2Ajnt4KGaq9hdXHLHL+6d9lGb83wkMHZqswNijwSzs="; + src = fetchFromBitbucket { + owner = "jgpallero"; + repo = pname; + rev = "OctPROJ-${version}"; + sha256 = "sha256-d/Zf172Etj+GA0cnGsQaKMjOmirE7Hwyj4UECpg7QFM="; }; # The sed changes below allow for the package to be compiled. diff --git a/pkgs/development/octave-modules/statistics/default.nix b/pkgs/development/octave-modules/statistics/default.nix index 8067f257d3e73..eba27ab49b2db 100644 --- a/pkgs/development/octave-modules/statistics/default.nix +++ b/pkgs/development/octave-modules/statistics/default.nix @@ -1,6 +1,6 @@ { buildOctavePackage , lib -, fetchurl +, fetchFromGitHub , io }: @@ -8,9 +8,11 @@ buildOctavePackage rec { pname = "statistics"; version = "1.5.2"; - src = fetchurl { - url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz"; - sha256 = "sha256-JtXwR7bfFcRu6zRD1gGYG06Txmcu42w2C+zMXEiFf/U="; + src = fetchFromGitHub { + owner = "gnu-octave"; + repo = "statistics"; + rev = "release-${version}"; + sha256 = "sha256-+Eye29vH4HBfaZRzRNY6J0+wWjh6aCvnq7hZ7M34L2M="; }; requiredOctavePackages = [ |