From ad0a5b23364cc290e6fd2f5ea19dfdedf2234be8 Mon Sep 17 00:00:00 2001 From: Tyson Whitehead Date: Thu, 18 Jan 2018 00:22:02 -0500 Subject: [PATCH] openfoam: Convert to new overlay system --- pkgs/all-packages.nix | 2 ++ openfoam.nix => pkgs/openfoam.nix | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) rename openfoam.nix => pkgs/openfoam.nix (96%) 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";