diff options
author | Arun Isaac <arunisaac@systemreboot.net> | 2020-09-17 11:28:28 +0530 |
---|---|---|
committer | Arun Isaac <arunisaac@systemreboot.net> | 2020-10-12 11:41:48 +0530 |
commit | 4c1384c576a77a73ac1a4b88c96b97b0873cf909 (patch) | |
tree | d8ebcba560246121fd159f61a8c54ce341e81523 /gnu | |
parent | fd2acf7132215633a43ea1d7c3fa685156070184 (diff) | |
download | guix-4c1384c576a77a73ac1a4b88c96b97b0873cf909.tar.gz guix-4c1384c576a77a73ac1a4b88c96b97b0873cf909.zip |
gnu: Add rust-as-slice-0.1.
* gnu/packages/crates-io.scm (rust-as-slice-0.1): New variable.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/crates-io.scm | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index ed6cab96a7..16d7670571 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -730,6 +730,29 @@ ArrayVec and ArrayString.") ("rust-matches" ,rust-matches-0.1) ("rust-serde-test" ,rust-serde-test-1)))))) +(define-public rust-as-slice-0.1 + (package + (name "rust-as-slice") + (version "0.1.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "as-slice" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0w0f56lnd9l6369jh6iv1qb08zl1lqa4y017x1gcharvq1dvdprp")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-generic-array" ,rust-generic-array-0.12) + ("rust-stable-deref-trait" ,rust-stable-deref-trait-1)))) + (home-page "https://github.com/japaric/as-slice") + (synopsis "AsSlice and AsMutSlice traits") + (description "This package provides @code{AsSlice} and @code{AsMutSlice} +traits.") + (license (list license:expat license:asl2.0)))) + (define-public rust-ascii-1.0 (package (name "rust-ascii") |