guix-commits
[Top][All Lists]
Advanced

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

53/61: gnu: Add rust-watchexec-events-1.


From: guix-commits
Subject: 53/61: gnu: Add rust-watchexec-events-1.
Date: Thu, 28 Mar 2024 12:01:11 -0400 (EDT)

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

commit c6d2e16ddef8423cbca19cb16ca7f97f3d8ca04f
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Mar 28 11:17:24 2024 +0200

    gnu: Add rust-watchexec-events-1.
    
    * gnu/packages/crates-io.scm (rust-watchexec-events-1): New variable.
    
    Change-Id: I7699c8da5f66b1b539c6c9296b66b1746363faec
---
 gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 62e8013460..1ef16555fa 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -85682,6 +85682,31 @@ modifications.")
                        ("rust-walkdir" ,rust-walkdir-2)
                        ("rust-winapi" ,rust-winapi-0.3))))))
 
+(define-public rust-watchexec-events-1
+  (package
+    (name "rust-watchexec-events")
+    (version "1.0.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "watchexec-events" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1qra2hpkdf5ln1vb5jpxp17s3va7dm2svb8d067r2xgx0az3nq01"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:tests? #f      ; `Event: serde::de::Deserialize<'_>` is not satisfied
+       #:cargo-inputs (("rust-nix" ,rust-nix-0.26)
+                       ("rust-notify" ,rust-notify-5)
+                       ("rust-serde" ,rust-serde-1)
+                       ("rust-watchexec-signals" ,rust-watchexec-signals-1))
+       #:cargo-development-inputs (("rust-serde-json" ,rust-serde-json-1)
+                                   ("rust-snapbox" ,rust-snapbox-0.4))))
+    (home-page "https://github.com/watchexec/watchexec";)
+    (synopsis "Watchexec's event types")
+    (description "This package provides watchexec's event types.")
+    (license (list license:asl2.0 license:expat))))
+
 (define-public rust-watchexec-signals-1
   (package
     (name "rust-watchexec-signals")



reply via email to

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