guix-commits
[Top][All Lists]
Advanced

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

02/299: gnu: Add rust-bstr-0.2.


From: guix-commits
Subject: 02/299: gnu: Add rust-bstr-0.2.
Date: Thu, 2 Jan 2020 13:18:59 -0500 (EST)

efraim pushed a commit to branch master
in repository guix.

commit 4aba4213c1392b5a771d365cf6bd0c969f376ac5
Author: John Soo <address@hidden>
Date:   Fri Dec 13 21:10:31 2019 -0800

    gnu: Add rust-bstr-0.2.
    
    * gnu/packages/crates-io.scm (rust-bstr-0.2): New variable.
    (rust-bstr-0.1): Inherit from rust-bstr-0.2.
    
    Signed-off-by: Efraim Flashner <address@hidden>
---
 gnu/packages/crates-io.scm | 21 ++++++++++++++++++---
 1 file changed, 18 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ea2a6d8..2e4769a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -245,10 +245,10 @@ behave like a set of bitflags.")
     (license (list license:asl2.0
                    license:expat))))
 
-(define-public rust-bstr-0.1
+(define-public rust-bstr-0.2
   (package
     (name "rust-bstr")
-    (version "0.1.4")
+    (version "0.2.1")
     (source
      (origin
        (method url-fetch)
@@ -257,7 +257,7 @@ behave like a set of bitflags.")
         (string-append name "-" version ".tar.gz"))
        (sha256
         (base32
-         "0nzi9vqhl56ws8gq39f3aj4qjrr4l3g5lbkkcj8xq1x4cb74wq2r"))))
+         "0prq6yk3da0k5bg2czcgg1i4ynsq1l59xc89ycsv6v7p08p5gh3c"))))
     (build-system cargo-build-system)
     (arguments
      `(#:skip-build? #t
@@ -278,6 +278,21 @@ behave like a set of bitflags.")
 UTF-8.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-bstr-0.1
+  (package
+    (inherit rust-bstr-0.2)
+    (name "rust-bstr")
+    (version "0.1.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "bstr" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0nzi9vqhl56ws8gq39f3aj4qjrr4l3g5lbkkcj8xq1x4cb74wq2r"))))))
+
 (define-public rust-cargon-0.0
   (package
     (name "rust-cargon")



reply via email to

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