From 8be33436db1715a18f2b569f1b19d6f11f6f739d Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Wed, 10 Nov 2021 06:58:50 +0000 Subject: [PATCH] gnu: Add rust-assert-0.7. * gnu/packages/crates-io.scm (rust-assert-0.7): New variable. --- gnu/packages/crates-io.scm | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index aad62bf3ca..6fe18413c8 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -2835,6 +2835,24 @@ (define-public rust-ascii-utils-0.9 "This library provides utilities to handle ASCII characters.") (license license:mpl2.0))) +(define-public rust-assert-0.7 + (package + (name "rust-assert") + (version "0.7.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "assert" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1hnph97yz3hpf71s4rdzcrgd492d1m7rj0k48ymxl1w5d2g8v450")))) + (build-system cargo-build-system) + (arguments `(#:skip-build? #t)) + (home-page "https://github.com/stainless-steel/assert") + (synopsis "Assertions for testing") + (description "This package provides assertions for testing.") + (license (list license:asl2.0 license:expat)))) + (define-public rust-assert-cli-0.6 (package (name "rust-assert-cli")