summary refs log tree commit diff
diff options
context:
space:
mode:
authorJohn Soo <jsoo1@asu.edu>2019-12-20 08:16:50 -0800
committerEfraim Flashner <efraim@flashner.co.il>2020-01-02 20:16:59 +0200
commit3c5a75ac631021cbb57ed7735ce4c953e32fc473 (patch)
tree9a0adb4dfc721d5db908d34a50ecab5556d98881
parent8dbe08652d176d7755ad5c1f50c5ad33898e228a (diff)
downloadguix-3c5a75ac631021cbb57ed7735ce4c953e32fc473.tar.gz
gnu: Add rust-lock-api-0.3.
* gnu/packages/crates-io.scm (rust-lock-api-0.3): New variable.
(rust-lock-api-0.2): Inherit from rust-lock-api-0.3.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r--gnu/packages/crates-io.scm21
1 files changed, 18 insertions, 3 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 05364f0fce..756a4aa533 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -4954,10 +4954,10 @@ functions and static variables these libraries contain.")
     (license (list license:asl2.0
                    license:expat))))
 
-(define-public rust-lock-api-0.2
+(define-public rust-lock-api-0.3
   (package
     (name "rust-lock-api")
-    (version "0.2.0")
+    (version "0.3.1")
     (source
      (origin
        (method url-fetch)
@@ -4966,7 +4966,7 @@ functions and static variables these libraries contain.")
         (string-append name "-" version ".tar.gz"))
        (sha256
         (base32
-         "1zx7pksmgyggpczgw4qrr4vj2nkdk5lipgiysvr20slm552nv57d"))))
+         "1p04271jikw69ja0ap0plrfwm9incf1iny48g0b3ma9k4mw2x4gq"))))
     (build-system cargo-build-system)
     (arguments
      `(#:skip-build? #t
@@ -4982,6 +4982,21 @@ functions and static variables these libraries contain.")
 @code{RwLock} types.  It is compatible with @code{no_std}.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-lock-api-0.2
+  (package
+    (inherit rust-lock-api-0.3)
+    (name "rust-lock-api")
+    (version "0.2.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "lock_api" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1zx7pksmgyggpczgw4qrr4vj2nkdk5lipgiysvr20slm552nv57d"))))))
+
 (define-public rust-lock-api-0.1
   (package
     (inherit rust-lock-api-0.2)