summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2021-11-11 11:58:04 +0000
committerRicardo Wurmus <rekado@elephly.net>2021-11-11 15:39:17 +0000
commitc576b3b36998e9e52324d9674984ae6ce6191767 (patch)
tree8f627c62751fafd8a92da3d6d281edf01595e6e5
parent067de0230e32b2894c8c2f3d393bedff2ebcdd0d (diff)
gnu: Add rust-parasail-sys-0.2.
* gnu/packages/crates-io.scm (rust-parasail-sys-0.2): New variable.
-rw-r--r--gnu/packages/crates-io.scm34
1 files changed, 34 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 486ea19a44..fbc9139f83 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -45,6 +45,7 @@
#:use-module (guix utils)
#:use-module (gnu packages)
#:use-module (gnu packages admin)
+ #:use-module (gnu packages autotools)
#:use-module (gnu packages cmake)
#:use-module (gnu packages compression)
#:use-module (gnu packages cpp)
@@ -34615,6 +34616,39 @@ normally prevent moving a type that has been borrowed from.")
(description "@code{pancurses} is a @code{curses} library for Rust.")
(license license:expat)))
+(define-public rust-parasail-sys-0.2
+ (package
+ (name "rust-parasail-sys")
+ (version "0.2.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "parasail-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "156fwfdbcfpzmx4k274jqdp8jzmllmdnhd1ibnh7kgd9cp7ni6ac"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-build-flags '("-vv")
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'set-shell-for-configure-script
+ (lambda _
+ (setenv "SHELL" (which "sh"))
+ (setenv "CONFIG_SHELL" (which "sh")))))
+ #:cargo-inputs
+ (("rust-libc" ,rust-libc-0.2))))
+ (inputs
+ `(("zlib" ,zlib)))
+ (native-inputs
+ `(("libtool" ,libtool)))
+ (home-page "https://github.com/anp/parasailors")
+ (synopsis "Bindings to the parasail pairwise genetic sequence alignment library")
+ (description
+ "This packgae provides native bindings to the parasail pairwise genetic
+sequence alignment library.")
+ (license license:expat)))
+
(define-public rust-parity-tokio-ipc-0.4
(package
(name "rust-parity-tokio-ipc")