aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorDavid Elsing <david.elsing@posteo.net>2024-01-28 23:01:56 +0000
committerChristopher Baines <mail@cbaines.net>2024-02-13 11:04:47 +0000
commit01ec7c388323723869b3d731025d3b2526dcb5d9 (patch)
treec7503a30fb18e60319db6fbf4a9ffd2ff50dd8f2 /gnu/packages
parent24518d038b40121c674d047cfad621d71aa41ff0 (diff)
downloadguix-01ec7c388323723869b3d731025d3b2526dcb5d9.tar.gz
guix-01ec7c388323723869b3d731025d3b2526dcb5d9.zip
gnu: gemmi: Update to 0.6.4.
* gnu/packages/chemistry.scm (gemmi): Update to 0.6.4. [arguments]: Adjust include/gemmi/sprintf.hpp -> src/sprintf.cpp. (freesasa)[arguments]: Link to gemmi_cpp explicitly. Signed-off-by: Christopher Baines <mail@cbaines.net>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/chemistry.scm8
1 files changed, 4 insertions, 4 deletions
diff --git a/gnu/packages/chemistry.scm b/gnu/packages/chemistry.scm
index df96a2f5c1..5129470e1e 100644
--- a/gnu/packages/chemistry.scm
+++ b/gnu/packages/chemistry.scm
@@ -589,7 +589,7 @@ your colleagues, or to generate pre-rendered animations.")
(define-public gemmi
(package
(name "gemmi")
- (version "0.5.7")
+ (version "0.6.4")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -598,7 +598,7 @@ your colleagues, or to generate pre-rendered animations.")
(file-name (git-file-name name version))
(sha256
(base32
- "00km5q726bslrw7xbfwb3f3mrsk19qbimfnl3hvr4wi1y3z8i18a"))
+ "0wciqqswc4p4v4kglfv36gnvyyimqn4lnywdzd0pgrjn443i860y"))
(patches
(search-patches "gemmi-fix-sajson-types.patch"
"gemmi-fix-pegtl-usage.patch"))
@@ -625,7 +625,7 @@ your colleagues, or to generate pre-rendered animations.")
#~(modify-phases %standard-phases
(add-after 'unpack 'patch-includes
(lambda _
- (substitute* (list "include/gemmi/sprintf.hpp"
+ (substitute* (list "src/sprintf.cpp"
"include/gemmi/dirwalk.hpp"
"include/gemmi/cif.hpp"
"include/gemmi/json.hpp"
@@ -722,7 +722,7 @@ It can be used for working with
(("libfreesasa\\.a") "libfreesasa.la")
(("freesasa_LDADD \\+= libfreesasa\\.la" prev)
(string-append prev "\nlibfreesasa_la_LIBADD"
- " = -ljson-c ${libxml2_LIBS}\n"))
+ " = -ljson-c -lgemmi_cpp ${libxml2_LIBS}\n"))
(("_a_SOURCES") "_la_SOURCES"))
(substitute* "configure.ac"
(("AC_PROG_INSTALL" inst)