From patchwork Wed Apr 5 18:21:27 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: reza X-Patchwork-Id: 48988 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 8D4CE1739B; Wed, 5 Apr 2023 19:22:46 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, MAILING_LIST_MULTI,PDS_BAD_THREAD_QP_64,RCVD_IN_MSPIKE_H2, SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 1A7B81738C for ; Wed, 5 Apr 2023 19:22:46 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pk7ll-0007mL-84; Wed, 05 Apr 2023 14:22:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pk7lj-0007lL-Un for guix-patches@gnu.org; Wed, 05 Apr 2023 14:22:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pk7lj-0006Rh-Mb for guix-patches@gnu.org; Wed, 05 Apr 2023 14:22:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pk7lj-0004OD-IB for guix-patches@gnu.org; Wed, 05 Apr 2023 14:22:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#62473] [PATCH v2 4/4] gnu: Add openfoam-com. Resent-From: reza Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 05 Apr 2023 18:22:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62473 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 62473@debbugs.gnu.org <62473@debbugs.gnu.org> Cc: reza Received: via spool by 62473-submit@debbugs.gnu.org id=B62473.168071890016812 (code B ref 62473); Wed, 05 Apr 2023 18:22:03 +0000 Received: (at 62473) by debbugs.gnu.org; 5 Apr 2023 18:21:40 +0000 Received: from localhost ([127.0.0.1]:52606 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pk7lM-0004N1-85 for submit@debbugs.gnu.org; Wed, 05 Apr 2023 14:21:40 -0400 Received: from a2-72.smtp-out.eu-west-1.amazonses.com ([54.240.2.72]:36555) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <0102018752a6f95e-6dba2432-a52f-478f-a194-47a0d05fc7f6-000000@mail.housseini.me>) id 1pk7lK-0004Me-GD for 62473@debbugs.gnu.org; Wed, 05 Apr 2023 14:21:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=solmzk3ljecfoypi3q6x2mqs3bucnhjw; d=housseini.me; t=1680718887; h=Subject:From:To:Cc:Date:Mime-Version:Content-Type:Content-Transfer-Encoding:In-Reply-To:References:Message-Id; bh=oI7PzaAEbHFc/UOqeSpds+pYed+vJJPK/+wY6/fqIm4=; b=P2gLxxe/uNA6myBW2p2e5esqcOG0GCJjXa1FwfVOU56JXNav7jo7d+J+iLTux7NI qOHrqvPdFxcIsXrxkO9e471kZisCZ5Zj/D8XNsC0jHxEyelzGkSvqtaaOIUNu0f25LJ HYacGor1QLukmhmyYuWbbNS5kqTkQHrKouUo4088= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=shh3fegwg5fppqsuzphvschd53n6ihuv; d=amazonses.com; t=1680718887; h=Subject:From:To:Cc:Date:Mime-Version:Content-Type:Content-Transfer-Encoding:In-Reply-To:References:Message-Id:Feedback-ID; bh=oI7PzaAEbHFc/UOqeSpds+pYed+vJJPK/+wY6/fqIm4=; b=l01Jsmhxd66rwj6g/b582/+EZZc5jz1pqXM259b0tHeGLhLvzpY1XPLfKVcprvjE PbHbT1d8Zqelp+Tw6gTgdgnkpOarZTiNJL+snjzojFHfp33MISxyPvSEjo7TtVXJfb+ fU3F2jaIWvJb1V1fKueL3cFainKgKXYVTJOK09ho= Date: Wed, 5 Apr 2023 18:21:27 +0000 Mime-Version: 1.0 In-Reply-To: References: <83f2db8384fdd419a9a75a4f00338a1fbbab52b4.1680707361.git.reza@housseini.me> X-Mailer: Amazon WorkMail Thread-Index: AQHZZ+thS7SdAvZFRcOPltSajFrCigAAA3MH Thread-Topic: [PATCH v2 4/4] gnu: Add openfoam-com. X-Wm-Sent-Timestamp: 1680718886 X-Original-Mailer: git-send-email 2.39.2 Message-ID: <0102018752a6f95e-6dba2432-a52f-478f-a194-47a0d05fc7f6-000000@eu-west-1.amazonses.com> Feedback-ID: 1.eu-west-1.b24dn6frgCi6dh20skzbuMRr7UL8M6Soir/3ogtEjHQ=:AmazonSES X-SES-Outgoing: 2023.04.05-54.240.2.72 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: reza X-ACL-Warn: , reza via Guix-patches X-Patchwork-Original-From: reza via Guix-patches via From: reza Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches --- gnu/packages/simulation.scm | 39 +++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) --- 2.39.2 diff --git a/gnu/packages/simulation.scm b/gnu/packages/simulation.scm index a4df23785a..15fff6e57c 100644 --- a/gnu/packages/simulation.scm +++ b/gnu/packages/simulation.scm @@ -375,6 +375,45 @@ (define-public openfoam-org (license license:gpl3+) (home-page "https://openfoam.org"))) +(define-public openfoam-com + (package + (inherit openfoam-org) + (name "openfoam-com") + (version "2212") + (source (origin + (method url-fetch) + + (uri (string-append "https://develop.openfoam.com" + "/Development/openfoam/-/archive/OpenFOAM-v" + version + "/openfoam-OpenFOAM-v" + version + ".tar.gz")) + (sha256 + (base32 + "0i9039hfz9gvgymkdjhjvvn5500zha3cpdbpqrzfrfi8lbz10is2")) + (modules '((guix build utils))) + (snippet '(begin + ;; patch shell paths + (substitute* (list "src/OSspecific/POSIX/POSIX.C" + "wmake/src/Makefile" + "wmake/makefiles/general" + "wmake/makefiles/info") + (("/bin/sh") + which "sh")))))) + (description + "OpenFOAM is a free, open source CFD software released and developed by +OpenCFD Ltd since 2004. It has a large user base across most areas of +engineering and science, from both commercial and academic organizations. +OpenFOAM has an extensive range of features to solve anything from complex +fluid flows involving chemical reactions, turbulence and heat transfer, to +acoustics, solid mechanics and electromagnetics. See documentation OpenFOAM +is professionally released every six months to include customer sponsored +developments and contributions from the community - individual and group +contributors, integrations (eg, from FOAM-extend and OpenFOAM Foundation Ltd) +as well as governance guided activities.") + (home-page "https://www.openfoam.com"))) + (define-public open-simulation-interface (package (name "open-simulation-interface")