guix-commits
[Top][All Lists]
Advanced

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

146/276: gnu: Add rust-serde-regex-1.


From: guix-commits
Subject: 146/276: gnu: Add rust-serde-regex-1.
Date: Wed, 18 Oct 2023 04:49:49 -0400 (EDT)

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

commit 87e0bade7c6a14dc13f654b8a72d717551a80564
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Oct 3 10:23:50 2023 +0300

    gnu: Add rust-serde-regex-1.
    
    * gnu/packages/crates-io.scm (rust-serde-regex-1): New variable.
---
 gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e116e4fcd1..35f7145723 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -61751,6 +61751,31 @@ using nested parameters, similar to those used by 
@code{qs} for Node, and
 commonly used by Ruby on Rails via Rack.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-serde-regex-1
+  (package
+    (name "rust-serde-regex")
+    (version "1.1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "serde-regex" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1pxsnxb8c198szghk1hvzvhva36w2q5zs70hqkmdf5d89qd6y4x8"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-regex" ,rust-regex-1)
+        ("rust-serde" ,rust-serde-1))
+       #:cargo-development-inputs
+       (("rust-serde-derive" ,rust-serde-derive-1)
+        ("rust-serde-json" ,rust-serde-json-1))))
+    (home-page "https://github.com/tailhook/serde-regex";)
+    (synopsis "Serde wrapper that (de)serializes regex as strings")
+    (description
+     "This package provides a serde wrapper that (de)serializes regex as 
strings.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-serde-repr-0.1
   (package
     (name "rust-serde-repr")



reply via email to

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