guix-commits
[Top][All Lists]
Advanced

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

14/21: gnu: Add rust-mark-flaky-tests-macro-1.


From: guix-commits
Subject: 14/21: gnu: Add rust-mark-flaky-tests-macro-1.
Date: Wed, 18 Dec 2024 13:52:08 -0500 (EST)

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

commit d8a59fec0098b529046efd706b99cb5268ed2e79
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Wed Dec 11 10:49:04 2024 +0900

    gnu: Add rust-mark-flaky-tests-macro-1.
    
    * gnu/packages/crates-check.scm: New file.
    * gnu/local.mk (GNU_SYSTEM_MODULES): Register it.
    
    Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
    Change-Id: I11e91a86ca66d669cacb92aabf24e6acd43ded90
---
 gnu/local.mk                  |  1 +
 gnu/packages/crates-check.scm | 59 +++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 60 insertions(+)

diff --git a/gnu/local.mk b/gnu/local.mk
index 0582e24333..1125a7225f 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -210,6 +210,7 @@ GNU_SYSTEM_MODULES =                                \
   %D%/packages/cppi.scm                                \
   %D%/packages/cran.scm                                \
   %D%/packages/crates-apple.scm                \
+  %D%/packages/crates-check.scm                        \
   %D%/packages/crates-crypto.scm               \
   %D%/packages/crates-io.scm                   \
   %D%/packages/crates-graphics.scm             \
diff --git a/gnu/packages/crates-check.scm b/gnu/packages/crates-check.scm
new file mode 100644
index 0000000000..926c32edc7
--- /dev/null
+++ b/gnu/packages/crates-check.scm
@@ -0,0 +1,59 @@
+;;; GNU Guix --- Functional package management for GNU
+;;; Copyright © 2024 Maxim Cournoyer <maxim.cournoyer@gmail.com>
+;;;
+;;; This file is part of GNU Guix.
+;;;
+;;; GNU Guix is free software; you can redistribute it and/or modify it
+;;; under the terms of the GNU General Public License as published by
+;;; the Free Software Foundation; either version 3 of the License, or (at
+;;; your option) any later version.
+;;;
+;;; GNU Guix is distributed in the hope that it will be useful, but
+;;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+;;; GNU General Public License for more details.
+;;;
+;;; You should have received a copy of the GNU General Public License
+;;; along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.
+
+;;;
+;;; Please: Try to add new module packages in alphabetic order.
+;;;
+
+(define-module (gnu packages crates-check)
+  #:use-module (guix build-system cargo)
+  #:use-module (guix download)
+  #:use-module ((guix licenses) #:prefix license:)
+  #:use-module (guix packages)
+  #:use-module (gnu packages crates-io))
+
+(define-public rust-mark-flaky-tests-macro-1
+  (package
+    (name "rust-mark-flaky-tests-macro")
+    (version "1.0.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "mark-flaky-tests-macro" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "115bb0pb4vb8pwm6lblcnc6zxxlk6w654njiphp696dj2vyiz2q7"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-proc-macro-crate" ,rust-proc-macro-crate-1)
+                       ("rust-proc-macro-error" ,rust-proc-macro-error-1)
+                       ("rust-proc-macro2" ,rust-proc-macro2-1)
+                       ("rust-quote" ,rust-quote-1)
+                       ("rust-syn" ,rust-syn-2))))
+    (home-page "https://github.com/GoldsteinE/mark-flaky-tests/";)
+    (synopsis "Mark, debug and auto-retry your flaky tests (proc-macro crate)")
+    (description
+     "This package provides a way to mark, debug and auto-retry your flaky 
tests
+(proc-macro crate).")
+    (license (list license:expat license:asl2.0))))
+
+;;;
+;;; Avoid adding new packages to the end of this file. To reduce the chances
+;;; of a merge conflict, place them above by existing packages with similar
+;;; functionality or similar names.
+;;;



reply via email to

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