aboutsummaryrefslogtreecommitdiff
path: root/gn/packages/crates-io.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gn/packages/crates-io.scm')
-rw-r--r--gn/packages/crates-io.scm74
1 files changed, 73 insertions, 1 deletions
diff --git a/gn/packages/crates-io.scm b/gn/packages/crates-io.scm
index 775a5e9..134298e 100644
--- a/gn/packages/crates-io.scm
+++ b/gn/packages/crates-io.scm
@@ -5,10 +5,82 @@
#:use-module (guix download)
#:use-module (guix utils)
#:use-module (guix build-system cargo)
- #:use-module (gnu packages crates-io))
+ #:use-module (gnu packages crates-io)
+ #:use-module (gnu packages rust))
;; Please keep these packages sorted alphabetically
+(define-public rust-bytemuck-1.3
+ (package
+ (inherit rust-bytemuck-1)
+ (name "rust-bytemuck")
+ (version "1.3.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "bytemuck" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1scaac5xbfynzbpvz9yjbmg9ag2jalxfijapwlqh7xldf4li0ynv"))))))
+
+(define-public rust-handlegraph-0.3
+ (package
+ (name "rust-handlegraph")
+ (version "0.3.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "handlegraph" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1sj100w4lpj7798pws85qrfrzsily5hhzh6j118rwf56sgic1yml"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:rust ,rust-1.42
+ #:cargo-inputs
+ (("rust-bstr" ,rust-bstr-0.2)
+ ("rust-gfa" ,rust-gfa-0.6))))
+ (home-page "https://github.com/chfi/rs-handlegraph")
+ (synopsis "Library for use in variation graphs")
+ (description
+ "This package provides a Rust implementation of VG handle graph.")
+ (license license:expat)))
+
+(define-public rust-gfa-0.6
+ (package
+ (name "rust-gfa")
+ (version "0.6.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gfa" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0ghmy4r0324s6vvmj9nmh326346nkwm7nybnpcpswnjvf02b85gw"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-bstr" ,rust-bstr-0.2)
+ ("rust-bytemuck" ,rust-bytemuck-1.3)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-nom" ,rust-nom-5)
+ ("rust-regex" ,rust-regex-1)
+ ("rust-serde" ,rust-serde-1))
+ #:cargo-development-inputs
+ (("rust-criterion" ,rust-criterion-0.3))))
+ (home-page "https://github.com/chfi/rs-gfa")
+ (synopsis "Library for graphs in the GFA (Graphical Fragment Assembly) format")
+ (description
+ "This package provides a library for working with graphs in the
+@acronym{GFA, Graphical Fragment Assembly} format.")
+ (license license:expat)))
+
(define-public rust-ndarray-0.12
(package
(name "rust-ndarray")