From f5fd7127b64be963c8d3f7fac9cfe99c073f62d1 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Thu, 17 Sep 2020 16:42:32 +0530 Subject: [PATCH] gnu: Add rust-ntest-0.3. * gnu/packages/crates-io.scm (rust-ntest-0.3): New variable. --- gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 1b77e2c8b0..39be6b040f 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -15232,6 +15232,34 @@ with all line endings.") "Cross-platform file system notification library.") (license license:cc0))) +(define-public rust-ntest-0.3 + (package + (name "rust-ntest") + (version "0.3.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "ntest" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "04cljndihkcqqwj061bgpnxyv7wqbd3f91ag1b3ryrayn7rrclxv")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-ntest-test-cases" ,rust-ntest-test-cases-0.3) + ("rust-ntest-timeout" ,rust-ntest-timeout-0.3) + ("rust-timebomb" ,rust-timebomb-0.1)) + #:cargo-development-inputs + (("rust-ntest-test-cases" ,rust-ntest-test-cases-0.3) + ("rust-ntest-timeout" ,rust-ntest-timeout-0.3) + ("rust-timebomb" ,rust-timebomb-0.1)))) + (home-page "https://github.com/becheran/ntest") + (synopsis "Testing framework for Rust") + (description "This package provides a testing framework for Rust which +enhances the built-in library with some useful features.") + (license license:expat))) + (define-public rust-ntest-test-cases-0.3 (package (name "rust-ntest-test-cases")