diff options
author | Evgenii Lepikhin <e.lepikhin@corp.mail.ru> | 2022-04-02 00:54:36 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2022-05-30 11:13:53 +0300 |
commit | 69b27be15d1801b994bafa4c4cc01c790a27b5a8 (patch) | |
tree | 7ac92739aef5ea3bd3572b88a8b796630c5093e2 /gnu | |
parent | 6ec464ced7660b5aafd5f8e45fe55fa4d33a2667 (diff) | |
download | guix-patches-69b27be15d1801b994bafa4c4cc01c790a27b5a8.tar guix-patches-69b27be15d1801b994bafa4c4cc01c790a27b5a8.tar.gz |
gnu: Add rust-serde-regex-1.
* gnu/packages/crates-io.scm (rust-serde-regex-1): New variable.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/crates-io.scm | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 415f9ec6c3..86313f5e4f 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -54670,6 +54670,30 @@ 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)) + #: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 to serialize regular expressions as strings") + (description "This package provides a serde wrapper, that can be used to +serialize regular expressions as strings.") + (license (list license:expat license:asl2.0)))) + (define-public rust-serde-repr-0.1 (package (name "rust-serde-repr") |