mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +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.
59 lines
1.3 KiB
Nix
59 lines
1.3 KiB
Nix
{ buildOctavePackage
|
|
, lib
|
|
, fetchFromGitHub
|
|
# Octave Dependencies
|
|
, splines
|
|
# Other Dependencies
|
|
, gmsh
|
|
, gawk
|
|
, pkg-config
|
|
, dolfin
|
|
, autoconf, automake
|
|
}:
|
|
|
|
buildOctavePackage rec {
|
|
pname = "msh";
|
|
version = "1.0.12";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "carlodefalco";
|
|
repo = "msh";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-UnMrIruzm3ARoTgUlMMxfjTOMZw/znZUQJmj3VEOw8I=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
pkg-config
|
|
autoconf automake
|
|
dolfin
|
|
];
|
|
|
|
buildInputs = [
|
|
dolfin
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
gmsh
|
|
gawk
|
|
dolfin
|
|
];
|
|
|
|
requiredOctavePackages = [
|
|
splines
|
|
];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://octave.sourceforge.io/msh/index.html";
|
|
license = licenses.gpl2Plus;
|
|
maintainers = with maintainers; [ KarlJoad ];
|
|
description = "Create and manage triangular and tetrahedral meshes for Finite Element or Finite Volume PDE solvers";
|
|
longDescription = ''
|
|
Create and manage triangular and tetrahedral meshes for Finite Element or
|
|
Finite Volume PDE solvers. Use a mesh data structure compatible with
|
|
PDEtool. Rely on gmsh for unstructured mesh generation.
|
|
'';
|
|
# Not technically broken, but missing some functionality.
|
|
# dolfin needs to be its own stand-alone library for the last tests to pass.
|
|
};
|
|
}
|