tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
gobatmon: init at 0.4.0
Julian Lobbes
1 year ago
5e5d231a
eb30a6b6
+30
1 changed file
expand all
collapse all
unified
split
pkgs
by-name
go
gobatmon
package.nix
+30
pkgs/by-name/go/gobatmon/package.nix
···
1
1
+
{
2
2
+
buildGoModule,
3
3
+
fetchFromGitHub,
4
4
+
lib,
5
5
+
}:
6
6
+
7
7
+
buildGoModule rec {
8
8
+
pname = "gobatmon";
9
9
+
version = "0.4.0";
10
10
+
11
11
+
src = fetchFromGitHub {
12
12
+
owner = "ulinja";
13
13
+
repo = "gobatmon";
14
14
+
tag = "v${version}";
15
15
+
hash = "sha256-morcsU9RhY17XlaDC6J0uDRYiSYjnXquFjuOh7AEKkA=";
16
16
+
};
17
17
+
18
18
+
vendorHash = "sha256-WUTGAYigUjuZLHO1YpVhFSWpvULDZfGMfOXZQqVYAfs=";
19
19
+
20
20
+
meta = {
21
21
+
description = "Simple battery level monitor for Linux written in Go";
22
22
+
homepage = "https://github.com/ulinja/gobatmon";
23
23
+
license = lib.licenses.wtfpl;
24
24
+
maintainers = with lib.maintainers; [ ulinja ];
25
25
+
mainProgram = "gobatmon";
26
26
+
downloadPage = "https://github.com/ulinja/gobatmon/releases/latest";
27
27
+
changelog = "https://github.com/ulinja/gobatmon/blob/v${version}/CHANGELOG.md";
28
28
+
platforms = lib.platforms.linux;
29
29
+
};
30
30
+
}