gnu: Add rust-pbr-1.

* gnu/packages/crates-graphics.scm (rust-pbr-1): New variable.

Change-Id: I82ebaa90c7f76bd02c760257b022a88e44413146
This commit is contained in:
Efraim Flashner 2024-01-04 12:07:43 +02:00
parent a418ba4039
commit b05996d2ea
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -2351,6 +2351,30 @@ (define-public rust-palette-derive-0.7
@code{palette} crate.") @code{palette} crate.")
(license (list license:expat license:asl2.0)))) (license (list license:expat license:asl2.0))))
(define-public rust-pbr-1
(package
(name "rust-pbr")
(version "1.1.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "pbr" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "056mqvw168ziig1dgl2kq4vmkamv6gk3hv1x9696r6ynl3gjfn7d"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-test-flags '("--release" "--"
"--skip=tty::unix::compare_with_stty")
#:cargo-inputs (("rust-crossbeam-channel" ,rust-crossbeam-channel-0.5)
("rust-libc" ,rust-libc-0.2)
("rust-winapi" ,rust-winapi-0.3))
#:cargo-development-inputs (("rust-rand" ,rust-rand-0.8))))
(home-page "https://github.com/a8m/pb")
(synopsis "Console progress bar for Rust")
(description "This package provides a console progress bar for Rust.")
(license license:expat)))
(define-public rust-piston-float-1 (define-public rust-piston-float-1
(package (package
(name "rust-piston-float") (name "rust-piston-float")