Files
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

62 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 = {
homepage = "https://gnu-octave.github.io/packages/msh/";
license = lib.licenses.gpl2Plus;
maintainers = with lib.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.
};
}