mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 00:43:20 +00:00
45b015a165
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.
28 lines
640 B
Nix
28 lines
640 B
Nix
{ buildOctavePackage
|
|
, lib
|
|
, fetchhg
|
|
, matgeom
|
|
}:
|
|
|
|
buildOctavePackage rec {
|
|
pname = "geometry";
|
|
version = "unstable-2021-07-07";
|
|
|
|
src = fetchhg {
|
|
url = "http://hg.code.sf.net/p/octave/${pname}";
|
|
rev = "04965cda30b5f9e51774194c67879e7336df1710";
|
|
sha256 = "sha256-ECysYOJMF4gPiCFung9hFSlyyO60X3MGirQ9FlYDix8=";
|
|
};
|
|
|
|
requiredOctavePackages = [
|
|
matgeom
|
|
];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://octave.sourceforge.io/geometry/index.html";
|
|
license = with licenses; [ gpl3Plus boost ];
|
|
maintainers = with maintainers; [ KarlJoad ];
|
|
description = "Library for extending MatGeom functionality";
|
|
};
|
|
}
|