guix-commits
[Top][All Lists]
Advanced

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

61/63: gnu: rust-arboard-1: Fix build.


From: guix-commits
Subject: 61/63: gnu: rust-arboard-1: Fix build.
Date: Thu, 8 Feb 2024 14:09:46 -0500 (EST)

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

commit b2f21878f54bedbd0b0ee5ee4540c2c611374c72
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Feb 8 17:00:53 2024 +0200

    gnu: rust-arboard-1: Fix build.
    
    * gnu/packages/crates-io.scm (rust-arboard-1)[arguments]: Don't skip the
    build.  Add cargo-test-flags.
    [cargo-inputs]: Add rust-log-0.4, rust-once-cell-1,
    rust-parking-lot-0.11.  Remove rust-env-logger-0.8, rust-lazy-static-1,
    rust-libc-0.2, rust-simple-logger-1.
    [cargo-development-inputs]: Add rust-env-logger-0.8,
    rust-simple-logger-1.
    
    Change-Id: I8606c051f5b5c01232994baf65da33f37e2cc744
---
 gnu/packages/crates-io.scm | 16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 3f9ba7bb6f..fba37b5891 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -2020,23 +2020,27 @@ coverage-guided, mutation-based fuzzers.")
         (base32 "1a5qfmpzcf5rwlwsligf9z1gzndpvj0jncc4s3k3z5g214c4l127"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:skip-build? #t
+     `(#:cargo-test-flags
+       '("--release" "--"
+         "--skip=all_tests")
        #:cargo-inputs
        (("rust-clipboard-win" ,rust-clipboard-win-4)
         ("rust-core-graphics" ,rust-core-graphics-0.21)
-        ("rust-env-logger" ,rust-env-logger-0.8)
         ("rust-image" ,rust-image-0.23)
-        ("rust-lazy-static" ,rust-lazy-static-1)
-        ("rust-libc" ,rust-libc-0.2)
+        ("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-once-cell" ,rust-once-cell-1)
+        ("rust-parking-lot" ,rust-parking-lot-0.11)
         ("rust-scopeguard" ,rust-scopeguard-1)
-        ("rust-simple-logger" ,rust-simple-logger-1)
         ("rust-thiserror" ,rust-thiserror-1)
         ("rust-winapi" ,rust-winapi-0.3)
         ("rust-wl-clipboard-rs" ,rust-wl-clipboard-rs-0.4)
-        ("rust-x11rb" ,rust-x11rb-0.8))))
+        ("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



reply via email to

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