guix-commits
[Top][All Lists]
Advanced

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

77/472: gnu: Add rust-nonempty-0.7.


From: guix-commits
Subject: 77/472: gnu: Add rust-nonempty-0.7.
Date: Tue, 18 Jul 2023 14:08:11 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit ea92e1c39da0139f9914f03bea5f33fc1433e20f
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu May 11 17:30:28 2023 +0300

    gnu: Add rust-nonempty-0.7.
    
    * gnu/packages/crates-io.scm (rust-nonempty-0.7): New variable.
---
 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 79a958c07b..38818c8964 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -39096,6 +39096,26 @@ combinators library (fork for proposals for v8)")
     (description "This package provides custom derive nom parsers from 
structs.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-nonempty-0.7
+  (package
+    (name "rust-nonempty")
+    (version "0.7.0")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "nonempty" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1xynyd2mgjfc4lcishd6xky7cmkxgy4d7rawxfx6wpiq37kr3rg9"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-serde" ,rust-serde-1))
+       #:cargo-development-inputs (("rust-serde-json" ,rust-serde-json-1))))
+    (home-page "https://github.com/cloudhead/nonempty";)
+    (synopsis "Correct by construction non-empty vector")
+    (description "Correct by construction non-empty vector.")
+    (license license:expat)))
+
 (define-public rust-noop-proc-macro-0.3
   (package
     (name "rust-noop-proc-macro")



reply via email to

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