aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/crates-io.scm
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-10 23:43:05 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-13 11:50:55 +0100
commit508f7aa6f1b6aa0588dbfa42fa63e06ab5519c25 (patch)
treeae500ea6e14062f5909090b08ea1718f16ee386e /gnu/packages/crates-io.scm
parentf172daeb2dfbaf645a78675bf8e2861cc117ba60 (diff)
downloadguix-508f7aa6f1b6aa0588dbfa42fa63e06ab5519c25.tar.gz
guix-508f7aa6f1b6aa0588dbfa42fa63e06ab5519c25.zip
gnu: Add rust-clipboard-win-4.
* gnu/packages/crates-io.scm (rust-clipboard-win-4): New variable. (rust-clipboard-win-3): Inherit from above.
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r--gnu/packages/crates-io.scm29
1 files changed, 24 insertions, 5 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 05ce5e3e37..90c6ea96a5 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -6856,28 +6856,47 @@ Command Line Argument Parser.")
colorization.")
(license license:expat)))
-(define-public rust-clipboard-win-3
+(define-public rust-clipboard-win-4
(package
(name "rust-clipboard-win")
- (version "3.1.1")
+ (version "4.0.3")
(source
(origin
(method url-fetch)
(uri (crate-uri "clipboard-win" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0hh3npqfa1lfn62fwvkmjlpfnizq343a994b898ffsvb100mxpwz"))))
+ (base32 "0bd9gw35zjdh50n2gy6qq2gwpnqfafzwkliqkvm9z046fawwc8si"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
- (("rust-lazy-bytes-cast" ,rust-lazy-bytes-cast-5)
+ (("rust-error-code" ,rust-error-code-2)
+ ("rust-str-buf" ,rust-str-buf-1)
("rust-winapi" ,rust-winapi-0.3))))
(home-page "https://github.com/DoumanAsh/clipboard-win")
(synopsis "Simple way to interact with Windows clipboard")
(description
"This package provides simple way to interact with Windows clipboard.")
- (license license:expat)))
+ (license license:boost1.0)))
+
+(define-public rust-clipboard-win-3
+ (package
+ (inherit rust-clipboard-win-4)
+ (name "rust-clipboard-win")
+ (version "3.1.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "clipboard-win" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0hh3npqfa1lfn62fwvkmjlpfnizq343a994b898ffsvb100mxpwz"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-lazy-bytes-cast" ,rust-lazy-bytes-cast-5)
+ ("rust-winapi" ,rust-winapi-0.3))))))
(define-public rust-clipboard-win-2
(package