gnu: Add rust-starship-battery-0.9.

* gnu/packages/crates-io.scm (rust-starship-battery-0.9): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Change-Id: Iec767c8ee154dbe400c81e48c1eadda344dab51a
This commit is contained in:
Divya Ranjan 2025-01-05 07:03:44 +00:00 committed by Efraim Flashner
parent 03703f30d3
commit 2c2a19f255
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -74308,6 +74308,42 @@ (define-public rust-starship-battery-0.10
"This package provides Cross-platform information about the notebook batteries.")
(license license:isc)))
(define-public rust-starship-battery-0.9
(package
(inherit rust-starship-battery-0.10)
(name "rust-starship-battery")
(version "0.9.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "starship-battery" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0gzldhpfhqh12wgrahfdl2vma3qmrv434c4xcj7qndclcxs1ayfs"))))
(arguments
`(#:cargo-test-flags
'("--"
;; Missing test files
"--skip=src/types/manager.rs - types::manager::Manager (line 15)"
"--skip=src/units.rs - units (line 9)"
"--skip=src/units.rs - units (line 23)"
"--skip=src/units.rs - units (line 39)"
"--skip=src/units.rs - units (line 53)")
#:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1)
("rust-core-foundation" ,rust-core-foundation-0.9)
("rust-lazycell" ,rust-lazycell-1)
("rust-libc" ,rust-libc-0.2)
("rust-mach2" ,rust-mach2-0.4)
("rust-nix" ,rust-nix-0.29)
("rust-num-traits" ,rust-num-traits-0.2)
("rust-plist" ,rust-plist-1)
("rust-schemars" ,rust-schemars-0.8)
("rust-serde" ,rust-serde-1)
("rust-uom" ,rust-uom-0.36)
("rust-winapi" ,rust-winapi-0.3))
#:cargo-development-inputs (("rust-approx" ,rust-approx-0.5)
("rust-tempfile" ,rust-tempfile-3))))))
(define-public rust-state-0.6
(package
(name "rust-state")