octave.pkgs.msh: init at 1.0.10

This commit is contained in:
Karl Hallsby 2021-01-06 11:24:14 -06:00 committed by Doron Behar
parent 29b9735f91
commit 7a4dc7af1a
2 changed files with 61 additions and 0 deletions

View file

@ -0,0 +1,56 @@
{ buildOctavePackage
, lib
, fetchurl
# Octave Dependencies
, splines
# Other Dependencies
, gmsh
, gawk
, pkg-config
, dolfin
, autoconf, automake
}:
buildOctavePackage rec {
pname = "msh";
version = "1.0.10";
src = fetchurl {
url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz";
sha256 = "1mb5qrp9y1w1cbzrd9v84430ldy57ca843yspnrgbcqpxyyxbgfz";
};
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.
};
}

View file

@ -140,6 +140,11 @@ makeScope newScope (self:
miscellaneous = callPackage ../development/octave-modules/miscellaneous { };
msh = callPackage ../development/octave-modules/msh {
# PLACEHOLDER until KarlJoad gets dolfin packaged.
dolfin = null;
};
signal = callPackage ../development/octave-modules/signal { };
symbolic = callPackage ../development/octave-modules/symbolic {