diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2024-03-14 12:33:49 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-07-19 00:41:30 +0300 |
commit | 1c9089b9c34061183bae746e286c1a45f742cf6d (patch) | |
tree | 1f3172c428cf7a1873fc8e8714435aa711f2f4ae /gnu | |
parent | eab9fdef8f21db04a6cbd1cec27f7f6a92c614bc (diff) | |
download | guix-1c9089b9c34061183bae746e286c1a45f742cf6d.tar.gz guix-1c9089b9c34061183bae746e286c1a45f742cf6d.zip |
gnu: Add rust-clipboard-win-5.
* gnu/packages/crates-windows.scm (rust-clipboard-win-5): New variable.
(rust-clipboard-win-4): Inherit from rust-clipboard-win-5.
Change-Id: I9fea7093eb007f33fead73cb425072237065502c
Diffstat (limited to 'gnu')
-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) |