summary refs log tree commit diff
path: root/pkgs/development/octave-modules
diff options
context:
space:
mode:
authorKarl Hallsby <karl@hallsby.com>2021-01-06 11:24:14 -0600
committerDoron Behar <doron.behar@gmail.com>2021-02-24 21:00:50 +0200
commit7a4dc7af1aa61e02411579246216fca19d5b2484 (patch)
treedbbdefc50994139b6ef820c0c72fa005b7e4f2c9 /pkgs/development/octave-modules
parent29b9735f91c4ab756e8b389362586e6060aadf56 (diff)
downloadnixpkgs-7a4dc7af1aa61e02411579246216fca19d5b2484.tar
nixpkgs-7a4dc7af1aa61e02411579246216fca19d5b2484.tar.gz
nixpkgs-7a4dc7af1aa61e02411579246216fca19d5b2484.tar.bz2
nixpkgs-7a4dc7af1aa61e02411579246216fca19d5b2484.tar.lz
nixpkgs-7a4dc7af1aa61e02411579246216fca19d5b2484.tar.xz
nixpkgs-7a4dc7af1aa61e02411579246216fca19d5b2484.tar.zst
nixpkgs-7a4dc7af1aa61e02411579246216fca19d5b2484.zip
octave.pkgs.msh: init at 1.0.10
Diffstat (limited to 'pkgs/development/octave-modules')
-rw-r--r--pkgs/development/octave-modules/msh/default.nix56
1 files changed, 56 insertions, 0 deletions
diff --git a/pkgs/development/octave-modules/msh/default.nix b/pkgs/development/octave-modules/msh/default.nix
new file mode 100644
index 00000000000..a4e876c8128
--- /dev/null
+++ b/pkgs/development/octave-modules/msh/default.nix
@@ -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.
+  };
+}