summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-10 21:42:08 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-13 11:50:45 +0100
commit4f7b7ed62bc164f61655f709bac2faf86a42fa4b (patch)
treed1a8db7de46a4780155faee3c0f8b4e3efec5370 /gnu
parent2066647845a3a6f13b408b006d3441a45af3d827 (diff)
downloadguix-4f7b7ed62bc164f61655f709bac2faf86a42fa4b.tar.gz
gnu: Add rust-bitstream-io-1.
* gnu/packages/crates-io.scm (rust-bitstream-io-1): New variable.
(rust-bitstream-io-0.8): Inherit from above.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm43
1 files changed, 28 insertions, 15 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 4b90556490..c812ea0c43 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -4486,29 +4486,42 @@ behave like a set of bitflags.")
     (build-system cargo-build-system)
     (arguments `(#:skip-build? #t))))
 
-(define-public rust-bitstream-io-0.8
+(define-public rust-bitstream-io-1
   (package
     (name "rust-bitstream-io")
-    (version "0.8.5")
+    (version "1.0.0")
     (source
-      (origin
-        (method url-fetch)
-        (uri (crate-uri "bitstream-io" version))
-        (file-name
-          (string-append name "-" version ".tar.gz"))
-        (sha256
-          (base32
-            "00a6wy54s1dmadm5xz8k2cbsd7ixvm48mlc45bk0fdy0pbra6jk1"))))
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "bitstream-io" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "01pyk3pipwcbaghi7f0lmp3izjl902cv21yf4b1v5nipkrrrqlq3"))))
     (build-system cargo-build-system)
     (arguments `(#:skip-build? #t))
-    (home-page
-      "https://github.com/tuffy/bitstream-io")
-    (synopsis
-      "Library for reading/writing un-aligned values from/to streams in big-endian and little-endian formats.")
+    (home-page "https://github.com/tuffy/bitstream-io")
+    (synopsis "Read/write un-aligned values from big or little-endian streams")
     (description
-      "Library for reading/writing un-aligned values from/to streams in big-endian and little-endian formats.")
+     "This package is a library for reading/writing un-aligned values from/to
+streams in big-endian and little-endian formats.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-bitstream-io-0.8
+  (package
+    (inherit rust-bitstream-io-1)
+    (name "rust-bitstream-io")
+    (version "0.8.5")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "bitstream-io" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "00a6wy54s1dmadm5xz8k2cbsd7ixvm48mlc45bk0fdy0pbra6jk1"))))
+    (arguments `(#:skip-build? #t))))
+
 (define-public rust-bitvec-0.19
   (package
     (name "rust-bitvec")