summary refs log tree commit diff
diff options
context:
space:
mode:
authorphodina <phodina@protonmail.com>2021-09-03 22:56:03 +0000
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-09-17 12:24:34 +0200
commit13dc786c3ccd80c9e3645ac751c1276811b9b318 (patch)
treefbf28106d41b61fa70882dec8e174547e24d996e
parent7a414aaa1e2e3d787ceed27cab0ba8b2c0e74d7e (diff)
downloadguix-13dc786c3ccd80c9e3645ac751c1276811b9b318.tar.gz
gnu: Add rust-assert-impl-0.1.
* gnu/packages/crates-io.scm (rust-assert-impl-0.1): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
-rw-r--r--gnu/packages/crates-io.scm20
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d8f7472f4b..9f2b8ee39f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -2785,6 +2785,26 @@ standard library.")
        #:cargo-development-inputs
        (("rust-docmatic" ,rust-docmatic-0.1))))))
 
+(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)
+    (arguments `(#:skip-build? #t))
+    (home-page "https://github.com/upsuper/assert-impl")
+    (synopsis "Macro for static assert that types implement a trait or not")
+    (description
+     "This carte provides a macro for static assert that types implement
+a trait or not.")
+    (license license:expat)))
+
 (define-public rust-assert-json-diff-1
   (package
     (name "rust-assert-json-diff")