mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-19 09:22:05 -05:00
gnu: Add rust-camino-1.
* gnu/packages/crates-io.scm (rust-camino-1): New variable. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
This commit is contained in:
parent
1f92a0ce5a
commit
b9dc1b2552
1 changed files with 35 additions and 0 deletions
|
@ -6622,6 +6622,41 @@ (define-public rust-calloop-0.4
|
|||
#: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")
|
||||
|
|
Loading…
Reference in a new issue