From 3710685a57c41eef6bf59facd2c12a02f10e4e29 Mon Sep 17 00:00:00 2001 From: Efraim Flashner <efraim@flashner.co.il> Date: Tue, 16 May 2023 22:21:35 +0300 Subject: [PATCH] gnu: Add rust-assert-impl-0.1. * gnu/packages/crates-io.scm (rust-assert-impl-0.1): New variable. --- gnu/packages/crates-io.scm | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 7862ac2387..fdab1e6c7e 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -4386,6 +4386,23 @@ assertions on the result of your program's run.") "This crate provides file system fixtures and assertions for testing.") (license (list license:expat license:asl2.0)))) +(define-public rust-assert-impl-0.1 + (package + (name "rust-assert-impl") + (version "0.1.3") + (source (origin + (method url-fetch) + (uri (crate-uri "assert-impl" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "17jvig9rwdc1sf1j5q8q9k69njg3k8g7x7g6wcb711hcvq9l6in3")))) + (build-system cargo-build-system) + (home-page "https://github.com/upsuper/assert-impl") + (synopsis "Macro for static assert types implement a trait or not") + (description "Macro for static assert types implement a trait or not") + (license license:expat))) + (define-public rust-assert-json-diff-1 (package (name "rust-assert-json-diff")