diff mbox series

[bug#58614,v2,060/192] gnu: Remove rust-battery-0.7.

Message ID f84ad5e829c55b6e41c21c5fb049b5ad8a8a022f.1666519338.git.efraim@flashner.co.il
State New
Headers show
Series Remove unused crates | expand

Commit Message

Efraim Flashner Oct. 23, 2022, 10:02 a.m. UTC
* gnu/packages/crates-io.scm (rust-battery-0.7): Delete variable.
---
 gnu/packages/crates-io.scm | 36 ------------------------------------
 1 file changed, 36 deletions(-)
diff mbox series

Patch

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2b7eb8c7d3..5a7adb5947 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -6143,42 +6143,6 @@  (define-public rust-bat-0.18
 paging.")
     (license (list license:expat license:asl2.0))))
 
-(define-public rust-battery-0.7
-  (package
-    (name "rust-battery")
-    (version "0.7.8")
-    (source
-     (origin
-       (method url-fetch)
-       (uri (crate-uri "battery" version))
-       (file-name
-        (string-append name "-" version ".tar.gz"))
-       (sha256
-        (base32 "1r1641dyks76p39i1iihswhc6iz5z51pihmpxniy1h1pi4k29dml"))))
-    (build-system cargo-build-system)
-    (arguments
-     `(#:tests? #f ;; Tests fail with "No such file or directory".
-       #:cargo-inputs
-       (("rust-cfg-if" ,rust-cfg-if-1)
-        ("rust-core-foundation"
-         ,rust-core-foundation-0.7)
-        ("rust-lazycell" ,rust-lazycell-1)
-        ("rust-libc" ,rust-libc-0.2)
-        ("rust-mach" ,rust-mach-0.3)
-        ("rust-nix" ,rust-nix-0.19)
-        ("rust-num-traits" ,rust-num-traits-0.2)
-        ("rust-uom" ,rust-uom-0.30)
-        ("rust-winapi" ,rust-winapi-0.3))
-       #:cargo-development-inputs
-       (("rust-approx" ,rust-approx-0.3)
-        ("rust-tempfile" ,rust-tempfile-3))))
-    (home-page "https://github.com/svartalf/rust-battery")
-    (synopsis "Information about the notebook batteries")
-    (description
-     "@code{battery} provides a unified API to a notebook batteries state.")
-    ;; Dual licensed, either license applies.
-    (license (list license:asl2.0 license:expat))))
-
 (define-public rust-beef-0.5
   (package
     (name "rust-beef")