diff options
author | Zheng junjie <873216071@qq.com> | 2021-06-11 20:53:02 +0800 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-06-13 19:14:05 +0200 |
commit | b9dc1b2552a1dbd52240cb7baff3747747272754 (patch) | |
tree | f1a72912272d0fe56e50a32f3b6f66b002737d5d /gnu/packages/crates-io.scm | |
parent | 1f92a0ce5a794eea3a9415c0394e463435a9429c (diff) | |
download | guix-patches-b9dc1b2552a1dbd52240cb7baff3747747272754.tar guix-patches-b9dc1b2552a1dbd52240cb7baff3747747272754.tar.gz |
gnu: Add rust-camino-1.
* gnu/packages/crates-io.scm (rust-camino-1): New variable.
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r-- | gnu/packages/crates-io.scm | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 1d1a32fe3c..a03d7d1338 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -6622,6 +6622,41 @@ spreadsheet file.") #:cargo-development-inputs (("rust-lazycell" ,rust-lazycell-1)))))) +(define-public rust-camino-1 + (package + (name "rust-camino") + (version "1.0.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "camino" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1a91b5i4n6ikg7p5pgvj3hjac1gnwjmdqsi3k83al2d701nqqr6l")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs + (("rust-anyhow" ,rust-anyhow-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-structopt" ,rust-structopt-0.3)) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'fix-version-requirements + (lambda _ + (substitute* "Cargo.toml" + (("1.0.38") ,(package-version rust-anyhow-1))) + #t))))) + (home-page + "https://github.com/withoutboats/camino") + (synopsis "UTF-8 paths") + (description "This package provides a UTF-8 paths.") + (license (list license:expat license:asl2.0)))) + (define-public rust-capnp-0.13 (package (name "rust-capnp") |