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
This commit is contained in:
Maxim Cournoyer 2024-12-11 10:49:04 +09:00 committed by Efraim Flashner
parent d3b8d9bf05
commit aff0cecd28
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351
2 changed files with 60 additions and 0 deletions

View file

@ -211,6 +211,7 @@ GNU_SYSTEM_MODULES = \
%D%/packages/cppi.scm \ %D%/packages/cppi.scm \
%D%/packages/cran.scm \ %D%/packages/cran.scm \
%D%/packages/crates-apple.scm \ %D%/packages/crates-apple.scm \
%D%/packages/crates-check.scm \
%D%/packages/crates-crypto.scm \ %D%/packages/crates-crypto.scm \
%D%/packages/crates-io.scm \ %D%/packages/crates-io.scm \
%D%/packages/crates-graphics.scm \ %D%/packages/crates-graphics.scm \

View file

@ -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.
;;;