mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-19 05:57:04 +01:00
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:
parent
03703f30d3
commit
2c2a19f255
1 changed files with 36 additions and 0 deletions
|
@ -74308,6 +74308,42 @@ (define-public rust-starship-battery-0.10
|
||||||
"This package provides Cross-platform information about the notebook batteries.")
|
"This package provides Cross-platform information about the notebook batteries.")
|
||||||
(license license:isc)))
|
(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
|
(define-public rust-state-0.6
|
||||||
(package
|
(package
|
||||||
(name "rust-state")
|
(name "rust-state")
|
||||||
|
|
Loading…
Reference in a new issue