guix-commits
[Top][All Lists]
Advanced

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

14/18: gnu: Add julia-biosymbols.


From: guix-commits
Subject: 14/18: gnu: Add julia-biosymbols.
Date: Mon, 10 Jan 2022 08:19:51 -0500 (EST)

efraim pushed a commit to branch master
in repository guix.

commit 46472ae54546853b3bde1c4e7ed74ec641ca0476
Author: zimoun <zimon.toutoune@gmail.com>
AuthorDate: Tue Jan 4 23:47:52 2022 +0100

    gnu: Add julia-biosymbols.
    
    * gnu/packages/julia-xyz.scm (julia-biosymbols): New variable.
    
    Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
 gnu/packages/julia-xyz.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm
index c63bc77a87..f747c72a42 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -387,6 +387,37 @@ many of the other BioJulia packages.  This package defines 
IO, exceptions, and
 other types or methods used by other BioJulia packages.")
       (license license:expat))))
 
+(define-public julia-biosymbols
+  (package
+    (name "julia-biosymbols")
+    ;; Older release for compatibility with julia-biosequences.
+    (version "4.0.4")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/BioJulia/BioSymbols.jl";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1222rwdndi777lai8a6dwrh35i5rgmj75kcrhn8si72sxgz0syjm"))))
+    (build-system julia-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'adjust-tests
+           (lambda _
+             (substitute* "test/runtests.jl"
+               (("\\@testset \\\"Range.*" all)
+                (string-append all " return\n"))))))))
+    (propagated-inputs
+     (list julia-automa))
+    (home-page "https://github.com/BioJulia/BioSymbols.jl";)
+    (synopsis "Primitive types for nucleic acids and amino acids")
+    (description "This package defines the primitive types for nucleic acids
+and amino acids that are used ny otherBioJulia packages.")
+    (license license:expat)))
+
 (define-public julia-blockarrays
   (package
     (name "julia-blockarrays")



reply via email to

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