about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/octave-modules/fem-fenics/default.nix
blob: 300dfd758774e68abb2f01f0216bafcc812b165f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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;
  };
}