mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-18 00:42:17 -05:00
gnu: Add rust-filesize-0.2.
* gnu/packages/crates-io.scm (rust-filesize-0.2): New variable.
This commit is contained in:
parent
084144ac50
commit
4262f51b64
1 changed files with 24 additions and 0 deletions
|
@ -13063,6 +13063,30 @@ (define-public rust-fern-0.5
|
||||||
(("rust-clap" ,rust-clap-2)
|
(("rust-clap" ,rust-clap-2)
|
||||||
("rust-tempdir" ,rust-tempdir-0.3))))))
|
("rust-tempdir" ,rust-tempdir-0.3))))))
|
||||||
|
|
||||||
|
(define-public rust-filesize-0.2
|
||||||
|
(package
|
||||||
|
(name "rust-filesize")
|
||||||
|
(version "0.2.0")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (crate-uri "filesize" version))
|
||||||
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32 "0hvx4dfnara3a2dnhb9ci5bmm1m8s44h9l61s5djwkjx87i43mqj"))))
|
||||||
|
(build-system cargo-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:skip-build? #t
|
||||||
|
#:cargo-inputs
|
||||||
|
(("rust-winapi" ,rust-winapi-0.3))))
|
||||||
|
(home-page "https://github.com/Freaky/rust-filesize")
|
||||||
|
(synopsis "Find the physical space used by a file")
|
||||||
|
(description
|
||||||
|
"@code{filesize} abstracts platform-specific methods of determining the
|
||||||
|
real space used by files, taking into account filesystem compression and
|
||||||
|
sparse files.")
|
||||||
|
(license license:expat)))
|
||||||
|
|
||||||
(define-public rust-filetime-0.2
|
(define-public rust-filetime-0.2
|
||||||
(package
|
(package
|
||||||
(name "rust-filetime")
|
(name "rust-filetime")
|
||||||
|
|
Loading…
Reference in a new issue