From 9193e5f6f523eceab8d959e4ae53a769260704e5 Mon Sep 17 00:00:00 2001 From: Petr Hodina Date: Wed, 3 Aug 2022 11:25:27 +0200 Subject: [PATCH v4 16/37] gnu: Add rust-ntest-timeout-0.7. * gnu/packages/crates-io.scm (rust-ntest-timeout-0.7): New variable. (rust-ntest-timeout-0.3): Inherit from above. diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index ad4d97e9d7..5332ed563c 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -38385,8 +38385,34 @@ (define-public rust-ntest-test-cases-0.3 (description "This package provides test cases for ntest framework.") (license license:expat))) +(define-public rust-ntest-timeout-0.7 + (package + (name "rust-ntest-timeout") + (version "0.7.5") + (source (origin + (method url-fetch) + (uri (crate-uri "ntest_timeout" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "08v3r6hggh43qabl887pkz88k6lg6hrc62mppxyabb0pw44v03di")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs (("rust-ntest-proc-macro-helper" ,rust-ntest-proc-macro-helper-0.7) + ("rust-proc-macro-crate" ,rust-proc-macro-crate-1) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-1)))) + (home-page "https://github.com/becheran/ntest") + (synopsis "Timeout attribute for the ntest framework") + (description "This package provides a timeout attribute for the ntest +framework.") + (license license:expat))) + (define-public rust-ntest-timeout-0.3 (package + (inherit rust-ntest-timeout-0.7) (name "rust-ntest-timeout") (version "0.3.3") (source @@ -38403,12 +38429,7 @@ (define-public rust-ntest-timeout-0.3 (("rust-proc-macro2" ,rust-proc-macro2-1) ("rust-quote" ,rust-quote-1) ("rust-syn" ,rust-syn-1) - ("rust-timebomb" ,rust-timebomb-0.1)))) - (home-page "https://github.com/becheran/ntest") - (synopsis "Timeout attribute for the ntest framework") - (description "This package provides a timeout attribute for the ntest -framework.") - (license license:expat))) + ("rust-timebomb" ,rust-timebomb-0.1)))))) (define-public rust-num-0.4 (package -- 2.37.0