[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
44/330: gnu: Add rust-arboard-3.
From: |
guix-commits |
Subject: |
44/330: gnu: Add rust-arboard-3. |
Date: |
Mon, 18 Mar 2024 07:15:05 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit 4b1b0d64c28fffefbec7dc7cc493873b0c5dffdb
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Mar 14 12:26:35 2024 +0200
gnu: Add rust-arboard-3.
* gnu/packages/crates-io.scm (rust-arboard-3): New variable.
(rust-arboard-1): Inherit from rust-arboard-3.
Change-Id: I03da0c5cc6f2f93ad16040883e13ea40524d4098
---
gnu/packages/crates-io.scm | 42 +++++++++++++++++++++++++++++++++++-------
1 file changed, 35 insertions(+), 7 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 8320a316b5..a6db338c13 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -2062,8 +2062,42 @@ coverage-guided, mutation-based fuzzers.")
#:cargo-inputs
(("rust-derive-arbitrary" ,rust-derive-arbitrary-0.4))))))
+(define-public rust-arboard-3
+ (package
+ (name "rust-arboard")
+ (version "3.3.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "arboard" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0n7s54yjbv3qksq2fivcdnvriplmzp8fd14dfrw7k7048cciy152"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ; tests require X11 $DISPLAY
+ #:cargo-inputs (("rust-clipboard-win" ,rust-clipboard-win-5)
+ ("rust-core-graphics" ,rust-core-graphics-0.23)
+ ("rust-image" ,rust-image-0.24)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-objc" ,rust-objc-0.2)
+ ("rust-objc-foundation" ,rust-objc-foundation-0.1)
+ ("rust-objc-id" ,rust-objc-id-0.1)
+ ("rust-parking-lot" ,rust-parking-lot-0.12)
+ ("rust-thiserror" ,rust-thiserror-1)
+ ("rust-windows-sys" ,rust-windows-sys-0.48)
+ ("rust-wl-clipboard-rs" ,rust-wl-clipboard-rs-0.8)
+ ("rust-x11rb" ,rust-x11rb-0.13))
+ #:cargo-development-inputs (("rust-env-logger" ,rust-env-logger-0.9))))
+ (home-page "https://github.com/1Password/arboard")
+ (synopsis "Image and text handling for the OS clipboard")
+ (description
+ "This package provides image and text handling for the OS clipboard.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-arboard-1
(package
+ (inherit rust-arboard-3)
(name "rust-arboard")
(version "1.2.1")
(source
@@ -2073,7 +2107,6 @@ coverage-guided, mutation-based fuzzers.")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1a5qfmpzcf5rwlwsligf9z1gzndpvj0jncc4s3k3z5g214c4l127"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-test-flags
'("--release" "--"
@@ -2095,12 +2128,7 @@ coverage-guided, mutation-based fuzzers.")
("rust-x11rb" ,rust-x11rb-0.8))
#:cargo-development-inputs
(("rust-env-logger" ,rust-env-logger-0.8)
- ("rust-simple-logger" ,rust-simple-logger-1))))
- (home-page "https://github.com/ArturKovacs/arboard")
- (synopsis "Image and text handling for the OS clipboard")
- (description
- "This package provides image and text handling for the OS clipboard.")
- (license (list license:expat license:asl2.0))))
+ ("rust-simple-logger" ,rust-simple-logger-1))))))
(define-public rust-arc-swap-1
(package
- 45/330: gnu: Add rust-derive-new-0.6., (continued)
- 45/330: gnu: Add rust-derive-new-0.6., guix-commits, 2024/03/18
- 47/330: gnu: Add rust-hashlink-0.9., guix-commits, 2024/03/18
- 49/330: gnu: Add rust-litrs-0.4., guix-commits, 2024/03/18
- 50/330: gnu: rust-log-0.4: Update to 0.4.21., guix-commits, 2024/03/18
- 40/330: gnu: rust-wayland-cursor-0.31: Update to 0.31.1., guix-commits, 2024/03/18
- 26/330: gnu: Add rust-supports-hyperlinks-3., guix-commits, 2024/03/18
- 34/330: gnu: Add rust-miette-7., guix-commits, 2024/03/18
- 36/330: gnu: rust-libc: Update to 0.2.153., guix-commits, 2024/03/18
- 43/330: gnu: rust-wayland-server-0.31: Update to 0.31.1., guix-commits, 2024/03/18
- 41/330: gnu: rust-wayland-protocols-0.31: Update to 0.31.2., guix-commits, 2024/03/18
- 44/330: gnu: Add rust-arboard-3.,
guix-commits <=
- 46/330: gnu: Add rust-error-code-3., guix-commits, 2024/03/18
- 55/330: gnu: Add rust-rusqlite-macros-0.2., guix-commits, 2024/03/18
- 53/330: gnu: Add rust-reedline-0.30., guix-commits, 2024/03/18
- 54/330: gnu: Add rust-rusqlite-0.31., guix-commits, 2024/03/18
- 67/330: gnu: Add rust-regex-lite-0.1., guix-commits, 2024/03/18
- 66/330: gnu: Add rust-divan-0.1., guix-commits, 2024/03/18
- 59/330: gnu: rust-value-bag-sval2-1: Update to 1.8.0., guix-commits, 2024/03/18
- 61/330: gnu: Add rust-clipboard-win-5., guix-commits, 2024/03/18
- 70/330: gnu: Add rust-fancy-regex-0.13., guix-commits, 2024/03/18
- 64/330: gnu: Add rust-condtype-1., guix-commits, 2024/03/18