diff options
author | John Soo <jsoo1@asu.edu> | 2019-12-20 08:16:50 -0800 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2020-01-02 20:16:59 +0200 |
commit | 3c5a75ac631021cbb57ed7735ce4c953e32fc473 (patch) | |
tree | 9a0adb4dfc721d5db908d34a50ecab5556d98881 | |
parent | 8dbe08652d176d7755ad5c1f50c5ad33898e228a (diff) | |
download | patches-3c5a75ac631021cbb57ed7735ce4c953e32fc473.tar patches-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.scm | 21 |
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) |