aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-10-03 10:23:50 +0300
committerEfraim Flashner <efraim@flashner.co.il>2023-10-18 11:36:07 +0300
commit87e0bade7c6a14dc13f654b8a72d717551a80564 (patch)
treeaeae9d553990d4e47414ac77173e42934e798be9 /gnu
parent37ee0acfad6e79595c8a48011def784bf12b03bf (diff)
downloadguix-87e0bade7c6a14dc13f654b8a72d717551a80564.tar.gz
guix-87e0bade7c6a14dc13f654b8a72d717551a80564.zip
gnu: Add rust-serde-regex-1.
* gnu/packages/crates-io.scm (rust-serde-regex-1): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm25
1 files changed, 25 insertions, 0 deletions
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")