guix-commits
[Top][All Lists]
Advanced

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

26/29: gnu: Add rust-toml-0.4.


From: guix-commits
Subject: 26/29: gnu: Add rust-toml-0.4.
Date: Mon, 5 Oct 2020 06:43:46 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit d2aad1a89421291eee12c46d3a266382b0fa4617
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Oct 5 13:27:55 2020 +0300

    gnu: Add rust-toml-0.4.
    
    * gnu/packages/crates-io.scm (rust-toml-0.4): New variable.
---
 gnu/packages/crates-io.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index dfb6949..74f8382 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -25800,6 +25800,27 @@ serializing Rust structures.")
     (license (list license:asl2.0
                    license:expat))))
 
+(define-public rust-toml-0.4
+  (package
+    (inherit rust-toml-0.5)
+    (name "rust-toml")
+    (version "0.4.10")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "toml" version))
+        (file-name
+         (string-append name "-" version ".tar.gz"))
+        (sha256
+         (base32
+          "07qilkzinn8z13vq2sss65n2lza7wrmqpvkbclw919m3f7y691km"))))
+    (arguments
+     `(#:cargo-inputs
+       (("rust-serde" ,rust-serde-1))
+       #:cargo-development-inputs
+       (("rust-serde-derive" ,rust-serde-derive-1)
+        ("rust-serde-json" ,rust-serde-json-1))))))
+
 (define-public rust-toml-0.2
   (package
     (name "rust-toml")



reply via email to

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