aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2024-12-11 10:49:04 +0900
committerEfraim Flashner <efraim@flashner.co.il>2025-01-06 12:15:07 +0200
commitaff0cecd2875d6bc192dfc480ba292fc54af02f1 (patch)
treeed9d63aef74e130b5f4879f36b659b74ceda3434
parentd3b8d9bf05b90cb04da01b34e6e669830df14b45 (diff)
downloadguix-aff0cecd2875d6bc192dfc480ba292fc54af02f1.tar.gz
guix-aff0cecd2875d6bc192dfc480ba292fc54af02f1.zip
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
-rw-r--r--gnu/local.mk1
-rw-r--r--gnu/packages/crates-check.scm59
2 files changed, 60 insertions, 0 deletions
diff --git a/gnu/local.mk b/gnu/local.mk
index f7412d055f..262c1362af 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -211,6 +211,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.
+;;;