guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

23/26: gnu: Add rust-assert-impl-0.1.


From: guix-commits
Subject: 23/26: gnu: Add rust-assert-impl-0.1.
Date: Fri, 17 Sep 2021 06:26:24 -0400 (EDT)

ngz pushed a commit to branch master
in repository guix.

commit 13dc786c3ccd80c9e3645ac751c1276811b9b318
Author: phodina <phodina@protonmail.com>
AuthorDate: Fri Sep 3 22:56:03 2021 +0000

    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>
---
 gnu/packages/crates-io.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d8f7472..9f2b8ee 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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]