guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

152/156: gnu: rust-base64-0.12: Cleanup package.


From: guix-commits
Subject: 152/156: gnu: rust-base64-0.12: Cleanup package.
Date: Tue, 24 Oct 2023 08:53:11 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit 52feb0ebdf1caa59fb5ecf7214a6f0a504bfbe33
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Oct 24 10:36:34 2023 +0300

    gnu: rust-base64-0.12: Cleanup package.
    
    * gnu/packages/crates-io.scm (rust-base64-0.12)[source]: Remove old rust
    version workaround.
    [cargo-development-inputs]: Remove rust-doc-comment-0.3.
    (rust-base64-0.11): Adjust accordingly.
    
    Change-Id: I4319f4b07934894094975da52100767b8944315f
---
 gnu/packages/crates-io.scm | 25 +++++++++----------------
 1 file changed, 9 insertions(+), 16 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 3fcb63b07d..a18cbc0a61 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -6996,22 +6996,12 @@ c6e7d37.  However, this package works only up to 128 
bytes.")
      (origin
        (method url-fetch)
        (uri (crate-uri "base64" version))
-       (file-name
-        (string-append name "-" version ".tar.gz"))
+       (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32
-         "1zq33had71xh48n17g4kqs96szhx3yh7qibzwi4fk217n3vz0h9l"))
-       (modules '((guix build utils)))
-       (snippet
-        '(begin
-           ;; 'doctest' isn't stable until rust-1.40
-           (substitute* "src/lib.rs"
-             (("\\(doctest") "(test"))
-           #t))))
+        (base32 "1zq33had71xh48n17g4kqs96szhx3yh7qibzwi4fk217n3vz0h9l"))))
     (arguments
      `(#:cargo-development-inputs
        (("rust-criterion" ,rust-criterion-0.3)
-        ("rust-doc-comment" ,rust-doc-comment-0.3)
         ("rust-rand" ,rust-rand-0.6))))))
 
 (define-public rust-base64-0.11
@@ -7023,11 +7013,14 @@ c6e7d37.  However, this package works only up to 128 
bytes.")
      (origin
        (method url-fetch)
        (uri (crate-uri "base64" version))
-       (file-name
-        (string-append name "-" version ".tar.gz"))
+       (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32
-         "1iqmims6yvr6vwzyy54qd672zw29ipjj17p8klcr578c9ajpw6xl"))))))
+        (base32 "1iqmims6yvr6vwzyy54qd672zw29ipjj17p8klcr578c9ajpw6xl"))))
+    (arguments
+     `(#:cargo-development-inputs
+       (("rust-criterion" ,rust-criterion-0.3)
+        ("rust-doc-comment" ,rust-doc-comment-0.3)
+        ("rust-rand" ,rust-rand-0.6))))))
 
 (define-public rust-base64-0.10
   (package



reply via email to

[Prev in Thread] Current Thread [Next in Thread]