gnu: Add rust-serde-regex-1.

* gnu/packages/crates-io.scm (rust-serde-regex-1): New variable.
This commit is contained in:
Efraim Flashner 2023-10-03 10:23:50 +03:00
parent 37ee0acfad
commit 87e0bade7c
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -61751,6 +61751,31 @@ (define-public rust-serde-qs-0.7
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")