diff options
author | Karl Hallsby <karl@hallsby.com> | 2021-01-06 10:55:24 -0600 |
---|---|---|
committer | Doron Behar <doron.behar@gmail.com> | 2021-02-24 21:00:49 +0200 |
commit | 4296286a50112be9bdd7029fef4740feb1e26fd2 (patch) | |
tree | fa878becd69a57134fbd657f76accf85a9c30fd7 /pkgs/development/octave-modules | |
parent | 726a17cf88630d90c6769c428d6a6b4fedfe2d2a (diff) |
octave.pkgs.fem-fenics: init at 0.0.5
Diffstat (limited to 'pkgs/development/octave-modules')
-rw-r--r-- | pkgs/development/octave-modules/fem-fenics/default.nix | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/pkgs/development/octave-modules/fem-fenics/default.nix b/pkgs/development/octave-modules/fem-fenics/default.nix new file mode 100644 index 0000000000000..300dfd758774e --- /dev/null +++ b/pkgs/development/octave-modules/fem-fenics/default.nix @@ -0,0 +1,35 @@ +{ buildOctavePackage +, lib +, fetchurl +, dolfin +, ffc +, pkg-config +}: + +buildOctavePackage rec { + pname = "fem-fenics"; + version = "0.0.5"; + + src = fetchurl { + url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz"; + sha256 = "1xd80nnkschldvrqx0wvrg3fzbf8sck8bvq24phr5x49xs7b8x78"; + }; + + nativeBuildInputs = [ + pkg-config + ]; + + propagatedBuildInputs = [ + dolfin + ffc + ]; + + meta = with lib; { + homepage = "https://octave.sourceforge.io/fem-fenics/index.html"; + license = licenses.gpl3Plus; + maintainers = with maintainers; [ KarlJoad ]; + description = "Package for the resolution of partial differential equations based on fenics"; + # Lots of compilation errors for newer octave versions and syntax errors + broken = true; + }; +} |