From patchwork Mon Apr 20 22:15:05 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Vincent Legoll X-Patchwork-Id: 21378 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 F08B627BBE4; Mon, 20 Apr 2020 23:16:12 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 6BFAF27BBE1 for ; Mon, 20 Apr 2020 23:16:12 +0100 (BST) Received: from localhost ([::1]:43304 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jQei3-0002or-VO for patchwork@mira.cbaines.net; Mon, 20 Apr 2020 18:16:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49744) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jQehv-0002og-H3 for guix-patches@gnu.org; Mon, 20 Apr 2020 18:16:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jQehv-0007B1-0f for guix-patches@gnu.org; Mon, 20 Apr 2020 18:16:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:37074) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jQehu-0007Av-KP for guix-patches@gnu.org; Mon, 20 Apr 2020 18:16:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jQehu-0008NH-Ef for guix-patches@gnu.org; Mon, 20 Apr 2020 18:16:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#40691] [PATCH v2 1/1] gnu: Add gromacs. Resent-From: Vincent Legoll Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 20 Apr 2020 22:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40691 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?utf-8?q?Court=C3=A8s?= Cc: 40691@debbugs.gnu.org Received: via spool by 40691-submit@debbugs.gnu.org id=B40691.158742091632125 (code B ref 40691); Mon, 20 Apr 2020 22:16:02 +0000 Received: (at 40691) by debbugs.gnu.org; 20 Apr 2020 22:15:16 +0000 Received: from localhost ([127.0.0.1]:48620 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jQehA-0008M5-9y for submit@debbugs.gnu.org; Mon, 20 Apr 2020 18:15:16 -0400 Received: from mail-wm1-f47.google.com ([209.85.128.47]:37462) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jQeh7-0008Lr-Oz for 40691@debbugs.gnu.org; Mon, 20 Apr 2020 18:15:14 -0400 Received: by mail-wm1-f47.google.com with SMTP id z6so1385424wml.2 for <40691@debbugs.gnu.org>; Mon, 20 Apr 2020 15:15:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language; bh=aqejOvBn+FdQuTxejal5X0F1dB4J3gBavc7RxkSCmIE=; b=tN3EMKqVs++L4HFOGDDB6cZ+Evu42FslHOJaBSd8dBhPdj0BXK7TwTgPLOLGlWGGep hg8oGLyM77aUFGyVs0NkkMc3b/ifGU6MUA9rB1ITYwQe5wSpjl1yKD6B6iHBP+pIrNg/ Qx36IvbZb62I+XJMmTQOnb2h6NMIsQmjccXfZT4xEv5Cv+T8Lk0QyiKCz8dSX6ryhtdI weNSzcjGlJ91TPl9w0CPrIJxoNeb5THEV1QQwRPoham0gQmUpzq2kXJpynooT5HUxmsv UeM1+UAYH/F8d6bjsdJ2e20w99rlixSeJMXmcOplWYUWaQ1RO8LYk6kM/NT3YZOaYiEA L4jg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=aqejOvBn+FdQuTxejal5X0F1dB4J3gBavc7RxkSCmIE=; b=KFogvZHKrGKV2+D7QWhbCMf4kvkcykd5gsgLKWWtkHzf9M6qbjQ8jCouEStgTZc9BZ t7HdmyjxGIWUyXH3CddZg7j92LU8kT+9FjkhMCQB3WnsfuHbEdXE0kyk2WXQomLAjMaD i9ns4byFPQGoezdfY+NuT+fnKXuBXo6O6FycVYLsE9ReC0z5iBXZLegO7joMTQFOi0bp 59+RqSj1cRZT7+tsE7K6yLOuRh28Go+EDtYBEFrGK71QQ/7gOydTGOt6hyLtIc9opB/v gvPV50XKfiL5UYqDmmGhf4SkzaBb9dyBfaMg9qRBI/8TH7SnIG7l2mqMQpduk6QARjIx BpUA== X-Gm-Message-State: AGi0PuYn5ljbQ1BY4UY6H6Q2vJxYNIvhIF3t76Ww/yXc3kBujVZ0Hw1h stK2jblIlTcHXWTCIi5781/dd9sS X-Google-Smtp-Source: APiQypLJBNhKul0rJCTSh9gLvUSMghJGuvqbdoemTi1+nxo1UGlAj9hbgyhXJMVLVDWxxYPU9g8hrg== X-Received: by 2002:a1c:1f09:: with SMTP id f9mr1622579wmf.31.1587420907578; Mon, 20 Apr 2020 15:15:07 -0700 (PDT) Received: from [10.0.0.2] (se167-1-82-242-148-1.fbx.proxad.net. [82.242.148.1]) by smtp.gmail.com with ESMTPSA id q187sm921187wma.41.2020.04.20.15.15.05 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 20 Apr 2020 15:15:06 -0700 (PDT) References: <87k12b15ki.fsf@gnu.org> From: Vincent Legoll Message-ID: <36e8a145-1ca8-c380-9864-dbf8b1fd53cb@gmail.com> Date: Tue, 21 Apr 2020 00:15:05 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: <87k12b15ki.fsf@gnu.org> Content-Language: en-US X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches Hello, On 20/04/2020 00:19, Ludovic Courtès wrote: > Could you add a comment explaining the reason for this flag? Done, it'to build test executables. >> problems reported by cmake: >> >> -- Found Doxygen: >> /gnu/store/k6albjaxkybsgshqyw6g44f5hz75l7q6-doxygen-1.8.15/bin/doxygen >> (found version "1.8.15") found components: doxygen missing >> components: dot > > Perhaps add ‘graphviz’ as a native input? Yep, that fixed it >> -- Could NOT find Sphinx: Found unsuitable version "-real 2.3.1", but >> required is at least "1.6.1" (found >> /gnu/store/anyhb84x3mvyp11sbhmdnicbsa42m3x0-python-sphinx-2.3.1/bin/sphinx-build) > > Oh, looks like it’s looking at argv[0] and the script is wrapped. :-/ > Can you somehow for CMake to think it’s fine, either with a flag or by > skipping the relevant check in ‘CMakeLists.txt’? Done, passing the version to cmake & adding pygments to inputs made it pass. Thanks for the help How's the attached v2 ? From 650247f97a56f2967d068ee8b1911fae6412ce4d Mon Sep 17 00:00:00 2001 From: Vincent Legoll Date: Sat, 18 Apr 2020 00:14:56 +0200 Subject: [PATCH] gnu: Add gromacs. * gnu/packages/bioinformatics.scm (gromacs): New variable. --- gnu/packages/bioinformatics.scm | 47 +++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index b9be0c1918..1b643e29c8 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -17,6 +17,7 @@ ;;; Copyright © 2019 Brett Gilio ;;; Copyright © 2020 Björn Höfling ;;; Copyright © 2020 Jakub Kądziołka +;;; Copyright © 2020 Vincent Legoll ;;; ;;; This file is part of GNU Guix. ;;; @@ -79,6 +80,7 @@ #:use-module (gnu packages golang) #:use-module (gnu packages glib) #:use-module (gnu packages graph) + #:use-module (gnu packages graphviz) #:use-module (gnu packages groff) #:use-module (gnu packages gtk) #:use-module (gnu packages guile) @@ -785,6 +787,51 @@ input/output delimiter. When the new functionality is not used, bioawk is intended to behave exactly the same as the original BWK awk.") (license license:x11))) +(define-public gromacs + (package + (name "gromacs") + (version "2020.1") + (source (origin + (method url-fetch) + (uri (string-append "http://ftp.gromacs.org/pub/gromacs/gromacs-" + version ".tar.gz")) + (sha256 + (base32 + "1kwrk3i1dxp8abhqqsl049lh361n4910h0415g052f8shdc6arp1")))) + (build-system cmake-build-system) + (arguments + `(#:configure-flags + (list "-DGMX_DEVELOPER_BUILD=on" ; Needed to run tests + ;; Workaround for cmake/FindSphinx.cmake version parsing that does + ;; not understand the guix-wrapped `sphinx-build --version' answer + (string-append "-DSPHINX_EXECUTABLE_VERSION=" + ,(package-version python-sphinx))))) + (native-inputs + `(("doxygen" ,doxygen) + ("graphviz" ,graphviz) + ("python" ,python) + ("python-pygments" ,python-pygments) + ("python-sphinx" ,python-sphinx))) + (inputs + `(("fftwf" ,fftwf) + ("hwloc" ,hwloc-2 "lib") + ("imagemagick" ,imagemagick) + ("lapack" ,lapack) + ("openblas" ,openblas) + ("openmpi" ,openmpi) + ("perl" ,perl))) + (home-page "http://www.gromacs.org/") + (synopsis "Molecular dynamics software package") + (description "GROMACS is a versatile package to perform molecular dynamics, +i.e. simulate the Newtonian equations of motion for systems with hundreds to +millions of particles. It is primarily designed for biochemical molecules like +proteins, lipids and nucleic acids that have a lot of complicated bonded +interactions, but since GROMACS is extremely fast at calculating the nonbonded +interactions (that usually dominate simulations) many groups are also using it +for research on non-biological systems, e.g. polymers. GROMACS supports all the +usual algorithms you expect from a modern molecular dynamics implementation.") + (license license:lgpl2.1+))) + (define-public python-pybedtools (package (name "python-pybedtools") -- 2.26.0