summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2021-06-03 16:46:24 -0400
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2021-06-06 02:38:24 -0400
commit2394bd78facb8fc66ebcf99fd5af072a636c31c0 (patch)
tree86cca08788dd61cb38d186d123dddf91fd084a36
parent269e63865c222aeac941325fe8ab55a6fbc1436f (diff)
gnu: Add rust-sized-chunks-0.6.
* gnu/packages/crates-io.scm (rust-sized-chunks-0.6): New variable.
-rw-r--r--gnu/packages/crates-io.scm29
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e5839cf870..5ba7c5257d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -57,6 +57,7 @@
#:use-module (gnu packages pcre)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages python)
+ #:use-module (gnu packages rust)
#:use-module (gnu packages rust-apps)
#:use-module (gnu packages serialization)
#:use-module (gnu packages sqlite)
@@ -39478,6 +39479,34 @@ variants in pure Rust.")
(description "This package allows for easier formatting of sizes.")
(license (list license:expat license:asl2.0))))
+(define-public rust-sized-chunks-0.6
+ (package
+ (name "rust-sized-chunks")
+ (version "0.6.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "sized-chunks" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "07ix5fsdnpf2xsb0k5rbiwlmsicm2237fcx7blirp9p7pljr5mhn"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:rust ,rust-1.52 ;requires the "if in const fn" feature
+ #:cargo-inputs
+ (("rust-arbitrary" ,rust-arbitrary-1)
+ ("rust-array-ops" ,rust-array-ops-0.1)
+ ("rust-bitmaps" ,rust-bitmaps-2)
+ ("rust-refpool" ,rust-refpool-0.4)
+ ("rust-typenum" ,rust-typenum-1))))
+ (home-page "https://github.com/bodil/sized-chunks")
+ (synopsis "Efficient sized chunk datatypes")
+ (description "This package provides various fixed length array data types,
+designed for @code{immutable.rs}.")
+ (license license:mpl2.0)))
+
(define-public rust-skeptic-0.9
(package
(name "rust-skeptic")