aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-09 23:08:51 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-13 11:49:52 +0100
commit9ddba6b5d415df9d406fc4f194ab34bbf814cc9b (patch)
tree28ee6d6cca2b8c9f94fe774e25fc2b0da857774f
parent4fbf6cb006e88861f7cc79fff7aae4bac1c9bdb2 (diff)
downloadguix-9ddba6b5d415df9d406fc4f194ab34bbf814cc9b.tar.gz
guix-9ddba6b5d415df9d406fc4f194ab34bbf814cc9b.zip
gnu: Add rust-crossterm-winapi-0.7.
* gnu/packages/crates-io.scm (rust-crossterm-winapi-0.7): New variable. (rust-crossterm-winapi-0.4): Inherit from above.
-rw-r--r--gnu/packages/crates-io.scm32
1 files changed, 25 insertions, 7 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 29e89ad04a..36e2daf0ea 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -8287,26 +8287,44 @@ rasterizing glyphs, using native font engines whenever possible.")
manipulating terminals.")
(license license:expat)))
-(define-public rust-crossterm-winapi-0.4
+(define-public rust-crossterm-winapi-0.7
(package
(name "rust-crossterm-winapi")
- (version "0.4.0")
+ (version "0.7.0")
(source
(origin
(method url-fetch)
- (uri (crate-uri "crossterm-winapi" version))
+ (uri (crate-uri "crossterm_winapi" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1j3av8bba3f5y4n4w1vgn0iz28vdajxrli6lqxnvpddbphskmph2"))))
+ (base32 "1fa047zz228qyqbcjdss64j0n01p4adr29yh9w24lgjdrr59da0d"))))
(build-system cargo-build-system)
(arguments
- `(#:cargo-inputs (("rust-winapi" ,rust-winapi-0.3))))
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-winapi" ,rust-winapi-0.3))))
(home-page "https://github.com/crossterm-rs/crossterm-winapi")
(synopsis "Basic simple abstractions around common WinAPI calls")
- (description "WinAPI wrapper that provides some basic simple abstractions
-around common WinAPI calls.")
+ (description
+ "This package is a WinAPI wrapper that provides some basic simple
+abstractions around common WinAPI calls.")
(license license:expat)))
+(define-public rust-crossterm-winapi-0.4
+ (package
+ (inherit rust-crossterm-winapi-0.7)
+ (name "rust-crossterm-winapi")
+ (version "0.4.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "crossterm-winapi" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1j3av8bba3f5y4n4w1vgn0iz28vdajxrli6lqxnvpddbphskmph2"))))
+ (arguments
+ `(#:cargo-inputs (("rust-winapi" ,rust-winapi-0.3))))))
+
(define-public rust-rust-crypto-0.2
(package
(name "rust-rust-crypto")