[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
42/61: gnu: Add rust-watchexec-2.
From: |
guix-commits |
Subject: |
42/61: gnu: Add rust-watchexec-2. |
Date: |
Thu, 28 Mar 2024 12:01:07 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit 24fbadbe07abfce2e412c7d2cd8a600d534dfcf3
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Mar 28 11:07:07 2024 +0200
gnu: Add rust-watchexec-2.
* gnu/packages/crates-io.scm (rust-watchexec-2): New variable.
(rust-watchexec-1): Inherit from rust-watchexec-2.
Change-Id: I92ff8646a3e01c153364b07d82c6f7855a30d9fe
---
gnu/packages/crates-io.scm | 74 +++++++++++++++++++++++++++++++++++-----------
1 file changed, 56 insertions(+), 18 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 92c4b12570..2418d3ce8d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -85407,39 +85407,77 @@ and native running processes.")
(base32 "19kslk9pv1bcyp85w63dn1adbp13kz7kjha80abnwz27bmbxvz9j"))))
(arguments `(#:skip-build? #t))))
-(define-public rust-watchexec-1
+(define-public rust-watchexec-2
(package
(name "rust-watchexec")
- (version "1.16.0")
+ (version "2.3.2")
(source
(origin
(method url-fetch)
(uri (crate-uri "watchexec" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1v52fi5fvjr7h5npyjkwnfc7801qrl4ayzgq4k03ylxr4lkbvhsb"))))
+ (base32 "120g73qpywbrzlcma9nhgaymm44aw2516xwl0fima8yy2ig22car"))
+ (modules '((guix build utils)))
+ (snippet
+ '(begin (substitute* "Cargo.toml"
+ (("\"= *([[:digit:]]+(\\.[[:digit:]]+)*)" _ version)
+ (string-append "\"^" version)))))))
(build-system cargo-build-system)
(arguments
- `(#:skip-build? #t
- #:cargo-inputs
- (("rust-clearscreen" ,rust-clearscreen-1)
- ("rust-derive-builder" ,rust-derive-builder-0.10)
- ("rust-glob" ,rust-glob-0.3)
- ("rust-globset" ,rust-globset-0.4)
- ("rust-lazy-static" ,rust-lazy-static-1)
- ("rust-log" ,rust-log-0.4)
- ("rust-nix" ,rust-nix-0.20)
- ("rust-notify" ,rust-notify-4)
- ("rust-walkdir" ,rust-walkdir-2)
- ("rust-winapi" ,rust-winapi-0.3))))
- (home-page "https://github.com/watchexec/watchexec")
- (synopsis
- "Library to execute commands in response to file modifications")
+ `(#:cargo-inputs
+ (("rust-async-priority-channel" ,rust-async-priority-channel-0.1)
+ ("rust-async-recursion" ,rust-async-recursion-1)
+ ("rust-atomic-take" ,rust-atomic-take-1)
+ ("rust-clearscreen" ,rust-clearscreen-2)
+ ("rust-command-group" ,rust-command-group-2)
+ ("rust-futures" ,rust-futures-0.3)
+ ("rust-ignore-files" ,rust-ignore-files-1)
+ ("rust-miette" ,rust-miette-5)
+ ("rust-nix" ,rust-nix-0.26)
+ ("rust-normalize-path" ,rust-normalize-path-0.2)
+ ("rust-notify" ,rust-notify-5)
+ ("rust-once-cell" ,rust-once-cell-1)
+ ("rust-project-origins" ,rust-project-origins-1)
+ ("rust-thiserror" ,rust-thiserror-1)
+ ("rust-tokio" ,rust-tokio-1)
+ ("rust-tracing" ,rust-tracing-0.1)
+ ("rust-watchexec-events" ,rust-watchexec-events-1)
+ ("rust-watchexec-signals" ,rust-watchexec-signals-1))
+ #:cargo-development-inputs
+ (("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3))))
+ (home-page "https://watchexec.github.io")
+ (synopsis "Library to execute commands in response to file modifications")
(description
"This crate is a library to execute commands in response to file
modifications.")
(license license:asl2.0)))
+(define-public rust-watchexec-1
+ (package
+ (inherit rust-watchexec-2)
+ (name "rust-watchexec")
+ (version "1.16.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "watchexec" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1v52fi5fvjr7h5npyjkwnfc7801qrl4ayzgq4k03ylxr4lkbvhsb"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-clearscreen" ,rust-clearscreen-1)
+ ("rust-derive-builder" ,rust-derive-builder-0.10)
+ ("rust-glob" ,rust-glob-0.3)
+ ("rust-globset" ,rust-globset-0.4)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-nix" ,rust-nix-0.20)
+ ("rust-notify" ,rust-notify-4)
+ ("rust-walkdir" ,rust-walkdir-2)
+ ("rust-winapi" ,rust-winapi-0.3))))))
+
(define-public rust-wl-clipboard-rs-0.8
(package
(name "rust-wl-clipboard-rs")
- branch rust-team updated (2d35e53d6a -> ab76434ee6), guix-commits, 2024/03/28
- 03/61: gnu: Add rust-sd-notify-0.3., guix-commits, 2024/03/28
- 05/61: gnu: Add rust-temp-env-0.3., guix-commits, 2024/03/28
- 18/61: gnu: rust-windows-x86-64-gnu-0.48: Update to 0.48.5., guix-commits, 2024/03/28
- 17/61: gnu: rust-windows-targets-0.48: Update to 0.48.5., guix-commits, 2024/03/28
- 27/61: gnu: rust-zstd-sys-2: Update to 2.0.10., guix-commits, 2024/03/28
- 22/61: gnu: rust-cargo-credential-0.4: Update to 0.4.4., guix-commits, 2024/03/28
- 15/61: gnu: rust-windows-i686-gnu-0.48: Update to 0.48.5., guix-commits, 2024/03/28
- 26/61: gnu: rust: Skip another test on riscv64-linux., guix-commits, 2024/03/28
- 38/61: gnu: Add rust-tectonic-engine-spx2html-0.3., guix-commits, 2024/03/28
- 42/61: gnu: Add rust-watchexec-2.,
guix-commits <=
- 02/61: gnu: rust-nix-0.21: Update to 0.21.2., guix-commits, 2024/03/28
- 04/61: gnu: rust-slog-async-2: Update to 2.8.0., guix-commits, 2024/03/28
- 06/61: gnu: Add nsncd., guix-commits, 2024/03/28
- 14/61: gnu: rust-windows-aarch64-msvc-0.48: Update to 0.48.5., guix-commits, 2024/03/28
- 29/61: gnu: rust-nix-0.22: Run the tests., guix-commits, 2024/03/28
- 28/61: gnu: rust-zstd-sys-2: Unbundle zstd., guix-commits, 2024/03/28
- 30/61: gnu: Add rust-clearscreen-2., guix-commits, 2024/03/28
- 24/61: gnu: rust-cargo-credential-wincred-0.4: Update to 0.4.3., guix-commits, 2024/03/28
- 20/61: gnu: rust-windows-x86-64-msvc-0.48: Update to 0.48.5., guix-commits, 2024/03/28
- 31/61: gnu: Add rust-open-4., guix-commits, 2024/03/28