blob: e28789b835ec65ca57e553bdcd25b69ff7f60e99 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
{ lib, fetchFromGitHub, rustPlatform }:
rustPlatform.buildRustPackage rec {
pname = "battop";
version = "0.2.4";
src = fetchFromGitHub {
owner = "svartalf";
repo = "rust-battop";
rev = "v${version}";
sha256 = "0p53jl3r2p1w9m2fvhzzrj8d9gwpzs22df5sbm7wwja4pxn7ay1w";
};
# https://github.com/svartalf/rust-battop/issues/11
cargoPatches = [ ./battery.patch ];
cargoSha256 = "0ipmnrn6lmf6rqzsqmaxzy9lblrxyrxzkji968356nxxmwzfbfvh";
meta = with lib; {
description = "is an interactive battery viewer";
homepage = "https://github.com/svartalf/rust-battop";
license = licenses.asl20;
maintainers = with maintainers; [ hdhog ];
};
}
|