octave.pkgs.fem-fenics: init at 0.0.5

This commit is contained in:
Karl Hallsby 2021-01-06 10:55:24 -06:00 committed by Doron Behar
parent 726a17cf88
commit 4296286a50
2 changed files with 41 additions and 0 deletions

View File

@ -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;
};
}

View File

@ -83,6 +83,12 @@ makeScope newScope (self:
econometrics = callPackage ../development/octave-modules/econometrics { };
fem-fenics = callPackage ../development/octave-modules/fem-fenics {
# PLACEHOLDER until KarlJoad gets dolfin packaged.
dolfin = null;
ffc = null;
};
general = callPackage ../development/octave-modules/general {
nettle = pkgs.nettle;
};