guix-commits
[Top][All Lists]
Advanced

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

171/330: gnu: Add rust-cargo-husky-1.


From: guix-commits
Subject: 171/330: gnu: Add rust-cargo-husky-1.
Date: Mon, 18 Mar 2024 07:16:01 -0400 (EDT)

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

commit 0bb7654886341e53166373f36cfd6834c46104e9
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sat Mar 16 22:00:03 2024 +0200

    gnu: Add rust-cargo-husky-1.
    
    * gnu/packages/crates-io.scm (rust-cargo-husky-1): New variable.
    
    Change-Id: I603d43ca8fac6254ecb41a96ce6f08f8954f96ad
---
 gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 66d9bba5c8..dff0b7f3b7 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -10214,6 +10214,29 @@ GNOME libsecret.")
         ("rust-cargo-credential" ,rust-cargo-credential-0.3)
         ("rust-libloading" ,rust-libloading-0.8))))))
 
+(define-public rust-cargo-husky-1
+  (package
+    (name "rust-cargo-husky")
+    (version "1.5.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "cargo-husky" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1b9jx720dzw9s7rl82bywz4d089c9rb0j526c1jfzs1g4llvc0kv"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:tests? #f      ; Not all files included.
+       #:cargo-development-inputs (("rust-lazy-static" ,rust-lazy-static-1)
+                                   ("rust-libc" ,rust-libc-0.2)
+                                   ("rust-semver" ,rust-semver-0.9))))
+    (home-page "https://github.com/rhysd/cargo-husky#readme";)
+    (synopsis "Autotest support with git hooks")
+    (description "Cargo-husky is a development tool to set Git hooks
+automatically on cargo test.")
+    (license license:expat)))
+
 (define-public rust-cargo-metadata-0.18
   (package
     (name "rust-cargo-metadata")



reply via email to

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