aboutsummaryrefslogtreecommitdiff
path: root/gn/packages/bioinformatics.scm
diff options
context:
space:
mode:
authorEfraim Flashner2020-06-16 12:50:00 +0300
committerEfraim Flashner2020-06-16 12:50:00 +0300
commit9ca77d2492781ff68bdfd819bb3dfc70ace9e2c1 (patch)
treef84f792cf7cd5c1c65e6d09988019e898c5b71b9 /gn/packages/bioinformatics.scm
parentf4c3abf2b8625e73c8aa945c5be1ee3f4b6715be (diff)
downloadguix-bioinformatics-9ca77d2492781ff68bdfd819bb3dfc70ace9e2c1.tar.gz
gn: Add rust-gfa.
Diffstat (limited to 'gn/packages/bioinformatics.scm')
-rw-r--r--gn/packages/bioinformatics.scm28
1 files changed, 28 insertions, 0 deletions
diff --git a/gn/packages/bioinformatics.scm b/gn/packages/bioinformatics.scm
index fca21a9..b38016a 100644
--- a/gn/packages/bioinformatics.scm
+++ b/gn/packages/bioinformatics.scm
@@ -8,6 +8,7 @@
#:use-module (guix git-download)
#:use-module (guix hg-download)
#:use-module (guix build-system ant)
+ #:use-module (guix build-system cargo)
#:use-module (guix build-system cmake)
#:use-module (guix build-system gnu)
#:use-module (guix build-system python)
@@ -22,6 +23,7 @@
#:use-module (gnu packages check)
#:use-module (gnu packages compression)
#:use-module (gnu packages cran)
+ #:use-module (gnu packages crates-io)
#:use-module (gnu packages datastructures)
#:use-module (gnu packages fontutils)
#:use-module (gnu packages gcc)
@@ -1303,3 +1305,29 @@ available to other researchers.")
(delete-file "scanpy/tests/test_neighbors_key_added.py")
(delete-file "scanpy/tests/test_pca.py")
#t)))))))))
+
+(define-public rust-gfa
+ (package
+ (name "rust-gfa")
+ (version "0.2.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gfa" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "06j22lmlxrcyc1lzpjyls3sa9v75wx5a604856lybmsswikihh0s"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-nom" ,rust-nom-5))))
+ (home-page "https://github.com/chfi/rs-gfa")
+ (synopsis
+ "Library for working with graphs in the GFA (Graphical Fragment Assembly) format")
+ (description
+ "This package provides a Rust library for working with graphs in the
+@dfn{Graphical Fragment Assembly} (GFA) format.")
+ (license license:expat)))