diff options
-rw-r--r-- | gnu/packages/crates-windows.scm | 31 |
1 files changed, 24 insertions, 7 deletions
diff --git a/gnu/packages/crates-windows.scm b/gnu/packages/crates-windows.scm index 14129b1ec4..538c216770 100644 --- a/gnu/packages/crates-windows.scm +++ b/gnu/packages/crates-windows.scm @@ -138,30 +138,47 @@ Windows Credential Manager.") (("rust-cargo-credential" ,rust-cargo-credential-0.3) ("rust-windows-sys" ,rust-windows-sys-0.48)))))) -(define-public rust-clipboard-win-4 +(define-public rust-clipboard-win-5 (package (name "rust-clipboard-win") - (version "4.5.0") + (version "5.2.0") (source (origin (method url-fetch) (uri (crate-uri "clipboard-win" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0qh3rypkf1lazniq4nr04hxsck0d55rigb5sjvpvgnap4dyc54bi")))) + (base32 "15x28184cw6r8hx30farqvcir0kz151dfbfms4avl9q11rqa1y8j")))) (build-system cargo-build-system) (arguments `(#:tests? #f ; unresolved import `clipboard_win::raw` - #:cargo-inputs - (("rust-error-code" ,rust-error-code-2) - ("rust-str-buf" ,rust-str-buf-1) - ("rust-winapi" ,rust-winapi-0.3)))) + #:cargo-inputs (("rust-error-code" ,rust-error-code-3) + ("rust-windows-win" ,rust-windows-win-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:boost1.0))) +(define-public rust-clipboard-win-4 + (package + (inherit rust-clipboard-win-5) + (name "rust-clipboard-win") + (version "4.5.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "clipboard-win" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0qh3rypkf1lazniq4nr04hxsck0d55rigb5sjvpvgnap4dyc54bi")))) + (arguments + `(#:tests? #f ; unresolved import `clipboard_win::raw` + #:cargo-inputs + (("rust-error-code" ,rust-error-code-2) + ("rust-str-buf" ,rust-str-buf-1) + ("rust-winapi" ,rust-winapi-0.3)))))) + (define-public rust-clipboard-win-3 (package (inherit rust-clipboard-win-4) |