summary refs log tree commit diff
path: root/gnu/packages/crates-io.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-06-28 14:36:37 +0300
committerEfraim Flashner <efraim@flashner.co.il>2020-06-28 14:59:29 +0300
commitc61ccd3e68c612c911773ebd658cd1a4f602b24f (patch)
tree1ab4bfcce9420aeb78caf8867518fb8c0105b373 /gnu/packages/crates-io.scm
parent2ba5ed731b760a2e85217cc0e3c3d7466b91ac96 (diff)
downloadguix-c61ccd3e68c612c911773ebd658cd1a4f602b24f.tar.gz
gnu: Add rust-block-buffer-0.8.
* gnu/packages/crates-io.scm (rust-block-buffer-0.8): New variable.
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r--gnu/packages/crates-io.scm21
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 06117be9c3..d5fa0a494d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1853,6 +1853,27 @@ extension of blocks.")
      "Fixed size buffer for block processing of data.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-block-buffer-0.8
+  (package
+    (inherit rust-block-buffer-0.9)
+    (name "rust-block-buffer")
+    (version "0.8.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "block-buffer" version))
+        (file-name
+         (string-append name "-" version ".tar.gz"))
+        (sha256
+         (base32
+          "0c9x5b8pk25i13bajqjkzf03bm5hx2y8pi9llfvjpy3nhr295kyv"))))
+    (arguments
+     `(#:cargo-inputs
+       (("rust-block-padding" ,rust-block-padding-0.1)
+        ("rust-byte-tools" ,rust-byte-tools-0.3)
+        ("rust-byteorder" ,rust-byteorder-1.3)
+        ("rust-generic-array" ,rust-generic-array-0.14))))))
+
 (define-public rust-block-buffer-0.7
   (package
     (inherit rust-block-buffer-0.9)