nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 buildOctavePackage,
3 lib,
4 fetchurl,
5 dolfin,
6 ffc,
7 pkg-config,
8}:
9
10buildOctavePackage rec {
11 pname = "fem-fenics";
12 version = "0.0.5";
13
14 src = fetchurl {
15 url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz";
16 sha256 = "1xd80nnkschldvrqx0wvrg3fzbf8sck8bvq24phr5x49xs7b8x78";
17 };
18
19 nativeBuildInputs = [
20 pkg-config
21 ];
22
23 propagatedBuildInputs = [
24 dolfin
25 ffc
26 ];
27
28 meta = {
29 homepage = "https://gnu-octave.github.io/packages/fem-fenics/";
30 license = lib.licenses.gpl3Plus;
31 maintainers = with lib.maintainers; [ KarlJoad ];
32 description = "Package for the resolution of partial differential equations based on fenics";
33 # Lots of compilation errors for newer octave versions and syntax errors
34 broken = true;
35 };
36}