2024-12-11 10:49:04 +09:00
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
gnu: rust-quickcheck: Move to (gnu packages crates-check).
* gnu/packages/crates-io.scm (rust-quickcheck-1, rust-quickcheck-0.9,
rust-quickcheck-0.8, rust-quickcheck-0.7, rust-quickcheck-0.6,
rust-quickcheck-0.5, rust-quickcheck-0.4, rust-quickcheck-0.2,
rust-quickcheck-macros-1, rust-quickcheck-macros-0.9,
rust-quickcheck-macros-0.8): Move from here ...
* gnu/packages/crates-check.scm: ... to here.
Change-Id: I2594095b7b55867a88636c1faae9d9424d5fddf5
2024-12-26 19:27:12 +02:00
|
|
|
;;; Copyright © 2019 John Soo <jsoo1@asu.edu>
|
|
|
|
;;; Copyright © 2020 Efraim Flashner <efraim@flashner.co.il>
|
|
|
|
;;; Copyright © 2020 Valentin Ignatev <valentignatev@gmail.com>
|
|
|
|
;;; Copyright © 2021 Nicolas Goaziou <mail@nicolasgoaziou.fr>
|
|
|
|
;;; Copyright © 2022 Aleksandr Vityazev <avityazev@posteo.org>
|
2024-12-11 10:49:04 +09:00
|
|
|
;;; 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))
|
|
|
|
|
2024-12-11 10:49:05 +09:00
|
|
|
(define-public rust-mark-flaky-tests-1
|
|
|
|
(package
|
|
|
|
(name "rust-mark-flaky-tests")
|
|
|
|
(version "1.0.2")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (crate-uri "mark-flaky-tests" version))
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32 "0c29bflpb5aawl5vzcai2rhvphskvh7gdr5v9sq52lx0jmy4lv2q"))))
|
|
|
|
(build-system cargo-build-system)
|
|
|
|
(arguments
|
|
|
|
`(#:cargo-inputs
|
|
|
|
(("rust-futures" ,rust-futures-0.3)
|
|
|
|
("rust-mark-flaky-tests-macro" ,rust-mark-flaky-tests-macro-1))
|
|
|
|
#:cargo-development-inputs (("rust-paste" ,rust-paste-1)
|
|
|
|
("rust-tokio" ,rust-tokio-1))))
|
|
|
|
(home-page "https://github.com/GoldsteinE/mark-flaky-tests/")
|
|
|
|
(synopsis "Mark, debug and auto-retry your flaky tests")
|
|
|
|
(description
|
|
|
|
"This package provides a way to mark, debug and auto-retry your flaky tests.")
|
|
|
|
(license (list license:expat license:asl2.0))))
|
|
|
|
|
2024-12-11 10:49:04 +09:00
|
|
|
(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))))
|
|
|
|
|
gnu: rust-quickcheck: Move to (gnu packages crates-check).
* gnu/packages/crates-io.scm (rust-quickcheck-1, rust-quickcheck-0.9,
rust-quickcheck-0.8, rust-quickcheck-0.7, rust-quickcheck-0.6,
rust-quickcheck-0.5, rust-quickcheck-0.4, rust-quickcheck-0.2,
rust-quickcheck-macros-1, rust-quickcheck-macros-0.9,
rust-quickcheck-macros-0.8): Move from here ...
* gnu/packages/crates-check.scm: ... to here.
Change-Id: I2594095b7b55867a88636c1faae9d9424d5fddf5
2024-12-26 19:27:12 +02:00
|
|
|
(define-public rust-quickcheck-1
|
|
|
|
(package
|
|
|
|
(name "rust-quickcheck")
|
|
|
|
(version "1.0.3")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (crate-uri "quickcheck" version))
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32 "1mjhkfqwrb8mdyxdqr4zzbj1rm5dfx25n9zcc25lb6fxwiw673sq"))))
|
|
|
|
(build-system cargo-build-system)
|
|
|
|
(arguments
|
|
|
|
`(#:skip-build? #t
|
|
|
|
#:cargo-inputs
|
|
|
|
(("rust-env-logger" ,rust-env-logger-0.8)
|
|
|
|
("rust-log" ,rust-log-0.4)
|
|
|
|
("rust-rand" ,rust-rand-0.8))))
|
|
|
|
(home-page "https://github.com/BurntSushi/quickcheck")
|
|
|
|
(synopsis "Automatic property based testing with shrinking")
|
|
|
|
(description
|
|
|
|
"QuickCheck is a way to do property based testing using randomly generated
|
|
|
|
input. This crate comes with the ability to randomly generate and shrink
|
|
|
|
integers, floats, tuples, booleans, lists, strings, options and results.")
|
|
|
|
(license (list license:unlicense license:expat))))
|
|
|
|
|
|
|
|
(define-public rust-quickcheck-0.9
|
|
|
|
(package
|
|
|
|
(inherit rust-quickcheck-1)
|
|
|
|
(name "rust-quickcheck")
|
|
|
|
(version "0.9.2")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (crate-uri "quickcheck" version))
|
|
|
|
(file-name
|
|
|
|
(string-append name "-" version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"0pwl7j21wmf843kpa9gr0byb40hg975ghjrwp0yxcym99bkq6j54"))))
|
|
|
|
(arguments
|
|
|
|
`(#:cargo-inputs
|
|
|
|
(("rust-env-logger" ,rust-env-logger-0.7)
|
|
|
|
("rust-log" ,rust-log-0.4)
|
|
|
|
("rust-rand" ,rust-rand-0.7)
|
|
|
|
("rust-rand-core" ,rust-rand-core-0.5))))))
|
|
|
|
|
|
|
|
(define-public rust-quickcheck-0.8
|
|
|
|
(package
|
|
|
|
(inherit rust-quickcheck-0.9)
|
|
|
|
(name "rust-quickcheck")
|
|
|
|
(version "0.8.5")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (crate-uri "quickcheck" version))
|
|
|
|
(file-name
|
|
|
|
(string-append name "-" version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"0mkl4wnvvjk4m32aq3an4ayfyvnmbxnzcybfm7n3fbsndb1xjdcw"))))
|
|
|
|
(arguments
|
|
|
|
`(#:cargo-inputs
|
|
|
|
(("rust-env-logger" ,rust-env-logger-0.6)
|
|
|
|
("rust-log" ,rust-log-0.4)
|
|
|
|
("rust-rand" ,rust-rand-0.6)
|
|
|
|
("rust-rand-core" ,rust-rand-core-0.4))))))
|
|
|
|
|
|
|
|
(define-public rust-quickcheck-0.7
|
|
|
|
(package
|
|
|
|
(inherit rust-quickcheck-0.9)
|
|
|
|
(name "rust-quickcheck")
|
|
|
|
(version "0.7.2")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (crate-uri "quickcheck" version))
|
|
|
|
(file-name
|
|
|
|
(string-append name "-" version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"05pqzja6fwdyrs1za5vmxb9ifb993knmpdsrs1fs2wyz9qz7slyl"))))
|
|
|
|
(arguments
|
|
|
|
`(#:cargo-inputs
|
|
|
|
(("rust-env-logger" ,rust-env-logger-0.5)
|
|
|
|
("rust-log" ,rust-log-0.4)
|
|
|
|
("rust-rand" ,rust-rand-0.5)
|
|
|
|
("rust-rand-core" ,rust-rand-core-0.2))))))
|
|
|
|
|
|
|
|
(define-public rust-quickcheck-0.6
|
|
|
|
(package
|
|
|
|
(inherit rust-quickcheck-0.9)
|
|
|
|
(name "rust-quickcheck")
|
|
|
|
(version "0.6.2")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (crate-uri "quickcheck" version))
|
|
|
|
(file-name
|
|
|
|
(string-append name "-" version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"1dyazm2fcq0v9fscq1a7597zsvdl9f0j8c2bfj1jm2nlzz2sn6y0"))))
|
|
|
|
(arguments
|
|
|
|
`(#:cargo-inputs
|
|
|
|
(("rust-env-logger" ,rust-env-logger-0.5)
|
|
|
|
("rust-log" ,rust-log-0.4)
|
|
|
|
("rust-rand" ,rust-rand-0.4))))))
|
|
|
|
|
|
|
|
(define-public rust-quickcheck-0.5
|
|
|
|
(package
|
|
|
|
(inherit rust-quickcheck-0.9)
|
|
|
|
(name "rust-quickcheck")
|
|
|
|
(version "0.5.0")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (crate-uri "quickcheck" version))
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"1jzm1ygfbn4igaq14b9nipc8yvsn6c8panpgd1qiy5r2insjllyd"))))
|
|
|
|
(arguments
|
|
|
|
`(#:cargo-inputs
|
|
|
|
(("rust-env-logger" ,rust-env-logger-0.4)
|
|
|
|
("rust-log" ,rust-log-0.3)
|
|
|
|
("rust-rand" ,rust-rand-0.3))))))
|
|
|
|
|
|
|
|
(define-public rust-quickcheck-0.4
|
|
|
|
(package
|
|
|
|
(inherit rust-quickcheck-0.5)
|
|
|
|
(name "rust-quickcheck")
|
|
|
|
(version "0.4.1")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (crate-uri "quickcheck" version))
|
|
|
|
(file-name
|
|
|
|
(string-append name "-" version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"01hligcv1h4pvc8ykch65qjzi7jgcq2s462v69j27slc84fl3hh2"))))
|
|
|
|
(arguments
|
|
|
|
`(#:cargo-inputs
|
|
|
|
(("rust-env-logger" ,rust-env-logger-0.3)
|
|
|
|
("rust-log" ,rust-log-0.3)
|
|
|
|
("rust-rand" ,rust-rand-0.3))))))
|
|
|
|
|
|
|
|
(define-public rust-quickcheck-0.2
|
|
|
|
(package
|
|
|
|
(inherit rust-quickcheck-0.4)
|
|
|
|
(name "rust-quickcheck")
|
|
|
|
(version "0.2.27")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (crate-uri "quickcheck" version))
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"1vb4acppaavlnchzc1jmn5wlkgir9x9gmhgp97bavyxxqxgsg1nh"))))))
|
|
|
|
|
|
|
|
(define-public rust-quickcheck-macros-1
|
|
|
|
(package
|
|
|
|
(name "rust-quickcheck-macros")
|
|
|
|
(version "1.0.0")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (crate-uri "quickcheck_macros" version))
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32 "1s8nh0fmmzq3fd7928qcp2syvymlyv1pmww6fxcaj5np48r6jamj"))))
|
|
|
|
(build-system cargo-build-system)
|
|
|
|
(arguments
|
|
|
|
`(#:skip-build? #t
|
|
|
|
#:cargo-inputs
|
|
|
|
(("rust-proc-macro2" ,rust-proc-macro2-1)
|
|
|
|
("rust-quote" ,rust-quote-1)
|
|
|
|
("rust-syn" ,rust-syn-1))))
|
|
|
|
(home-page "https://github.com/BurntSushi/quickcheck")
|
|
|
|
(synopsis "Macro attribute for quickcheck")
|
|
|
|
(description
|
|
|
|
"This package provides a macro attribute for quickcheck.")
|
|
|
|
(license (list license:unlicense license:expat))))
|
|
|
|
|
|
|
|
(define-public rust-quickcheck-macros-0.9
|
|
|
|
(package
|
|
|
|
(inherit rust-quickcheck-macros-1)
|
|
|
|
(name "rust-quickcheck-macros")
|
|
|
|
(version "0.9.1")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (crate-uri "quickcheck_macros" version))
|
|
|
|
(file-name
|
|
|
|
(string-append name "-" version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"0zsb9b4jpg7qvbiym4v8y9pgqk7p1g4f5hn9gp0fnzz9v1pib330"))))
|
|
|
|
(arguments
|
|
|
|
`(#:cargo-inputs
|
|
|
|
(("rust-proc-macro2" ,rust-proc-macro2-1)
|
|
|
|
("rust-quote" ,rust-quote-1)
|
|
|
|
("rust-syn" ,rust-syn-1))
|
|
|
|
#:cargo-development-inputs
|
|
|
|
(("rust-quickcheck" ,rust-quickcheck-0.9))))))
|
|
|
|
|
|
|
|
(define-public rust-quickcheck-macros-0.8
|
|
|
|
(package
|
|
|
|
(inherit rust-quickcheck-macros-0.9)
|
|
|
|
(name "rust-quickcheck-macros")
|
|
|
|
(version "0.8.0")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (crate-uri "quickcheck_macros" version))
|
|
|
|
(file-name
|
|
|
|
(string-append name "-" version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"0b3mhn0xcrdd3fkbkx3rghhivwzwil8w991ngp6gaj70l72c3pyp"))))
|
|
|
|
(arguments
|
|
|
|
`(#:cargo-inputs
|
|
|
|
(("rust-proc-macro2" ,rust-proc-macro2-0.4)
|
|
|
|
("rust-quote" ,rust-quote-0.6)
|
|
|
|
("rust-syn" ,rust-syn-0.15))
|
|
|
|
#:cargo-development-inputs
|
|
|
|
(("rust-quickcheck" ,rust-quickcheck-0.8))))))
|
|
|
|
|
2024-12-11 10:49:04 +09:00
|
|
|
;;;
|
|
|
|
;;; 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.
|
|
|
|
;;;
|