guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

61/330: gnu: Add rust-clipboard-win-5.


From: guix-commits
Subject: 61/330: gnu: Add rust-clipboard-win-5.
Date: Mon, 18 Mar 2024 07:15:12 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit df11b3e5c7e2dbf07d1ce883f03693de28e0808e
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Mar 14 12:33:49 2024 +0200

    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
---
 gnu/packages/crates-windows.scm | 31 ++++++++++++++++++++++++-------
 1 file 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]