gobatmon: init at 0.4.0

+30
+30
pkgs/by-name/go/gobatmon/package.nix
···
··· 1 + { 2 + buildGoModule, 3 + fetchFromGitHub, 4 + lib, 5 + }: 6 + 7 + buildGoModule rec { 8 + pname = "gobatmon"; 9 + version = "0.4.0"; 10 + 11 + src = fetchFromGitHub { 12 + owner = "ulinja"; 13 + repo = "gobatmon"; 14 + tag = "v${version}"; 15 + hash = "sha256-morcsU9RhY17XlaDC6J0uDRYiSYjnXquFjuOh7AEKkA="; 16 + }; 17 + 18 + vendorHash = "sha256-WUTGAYigUjuZLHO1YpVhFSWpvULDZfGMfOXZQqVYAfs="; 19 + 20 + meta = { 21 + description = "Simple battery level monitor for Linux written in Go"; 22 + homepage = "https://github.com/ulinja/gobatmon"; 23 + license = lib.licenses.wtfpl; 24 + maintainers = with lib.maintainers; [ ulinja ]; 25 + mainProgram = "gobatmon"; 26 + downloadPage = "https://github.com/ulinja/gobatmon/releases/latest"; 27 + changelog = "https://github.com/ulinja/gobatmon/blob/v${version}/CHANGELOG.md"; 28 + platforms = lib.platforms.linux; 29 + }; 30 + }