gnu: Add rust-app-dirs2-2.

* gnu/packages/crates-io.scm (rust-app-dirs2-2): New variable.
This commit is contained in:
Nicolas Goaziou 2021-01-23 09:58:28 +01:00
parent ea7728a483
commit 40d8f553fc
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -1415,6 +1415,35 @@ (define-public rust-anyhow-1
@code{std::error::Error}.") @code{std::error::Error}.")
(license (list license:expat license:asl2.0)))) (license (list license:expat license:asl2.0))))
(define-public rust-app-dirs2-2
(package
(name "rust-app-dirs2")
(version "2.3.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "app_dirs2" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "04v2q3jkqr32mwqs4niqfyhbkvvgrcsw0dajwqaz83nc5hs1igsm"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-jni" ,rust-jni-0.18)
("rust-ndk-glue" ,rust-ndk-glue-0.2)
("rust-winapi" ,rust-winapi-0.3)
("rust-xdg" ,rust-xdg-2))
#:cargo-development-inputs
(("rust-lazy-static" ,rust-lazy-static-1)
("rust-tempfile" ,rust-tempfile-3)
("rust-test-case" ,rust-test-case-1))))
(home-page "https://lib.rs/app_dirs2")
(synopsis "Put app's data in the right place on every platform")
(description
"This package helps you to put your app's data in the right place
on every platform.")
(license license:expat)))
(define-public rust-approx-0.3 (define-public rust-approx-0.3
(package (package
(name "rust-approx") (name "rust-approx")