guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/06: gnu: Add mmtf-cpp.


From: guix-commits
Subject: 02/06: gnu: Add mmtf-cpp.
Date: Mon, 25 Jan 2021 22:21:53 -0500 (EST)

kkebreau pushed a commit to branch master
in repository guix.

commit daa4728efc14a3c4c3893ba5e4daeda4bbdabf75
Author: Kei Kebreau <kkebreau@posteo.net>
AuthorDate: Fri Jan 22 22:27:21 2021 -0500

    gnu: Add mmtf-cpp.
    
    * gnu/packages/chemistry.scm (mmtf-cpp): New variable.
---
 gnu/packages/chemistry.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/chemistry.scm b/gnu/packages/chemistry.scm
index 129d6c1..2a42f6b 100644
--- a/gnu/packages/chemistry.scm
+++ b/gnu/packages/chemistry.scm
@@ -242,6 +242,31 @@ analogy is that InChI is the bar-code for chemistry and 
chemical structures.")
               "file://LICENCE"
               "See LICENCE in the distribution."))))
 
+(define-public mmtf-cpp
+  (package
+    (name "mmtf-cpp")
+    (version "1.0.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/rcsb/mmtf-cpp";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "17ylramda69plf5w0v5hxbl4ggkdi5s15z55cv0pljl12yvyva8l"))))
+    (build-system cmake-build-system)
+    ;; Tests require the soon-to-be-deprecated version 1 of the 
catch-framework.
+    (arguments
+     '(#:tests? #f))
+    (home-page "https://mmtf.rcsb.org/";)
+    (synopsis "C++ API for the Macromolecular Transmission Format")
+    (description "This package is a library for the
+@acronym{MMTF,macromolecular transmission format}, a binary encoding of
+biological structures.")
+    (license license:expat)))
+
 (define with-numpy-1.8
   (package-input-rewriting `((,python2-numpy . ,python2-numpy-1.8))))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]