diff --git a/pkgs/all-packages.nix b/pkgs/all-packages.nix index 8913f52..78c1e2f 100644 --- a/pkgs/all-packages.nix +++ b/pkgs/all-packages.nix @@ -5,4 +5,6 @@ self: pkgs: with pkgs; { firedrake = callPackage ./firedrake { }; meraculous = callPackage ./meraculous.nix { }; + + openfoam = callPackage ./openfoam.nix { }; } diff --git a/openfoam.nix b/pkgs/openfoam.nix similarity index 96% rename from openfoam.nix rename to pkgs/openfoam.nix index 9104495..e80db22 100644 --- a/openfoam.nix +++ b/pkgs/openfoam.nix @@ -1,4 +1,6 @@ -with import {}; +{ stdenv, fetchurl, makeWrapper, flex, bison +, zlib, boost, openmpi, readline, gperftools, cgal, metis, scotch, mpfr }: + stdenv.mkDerivation rec { version = "4.0";