depot/third_party/nixpkgs/pkgs/applications/misc/swaynag-battery/default.nix
Default email 3a4df29a92 Project import generated by Copybara.
GitOrigin-RevId: 3d7435c638baffaa826b85459df0fff47f12317d
2022-06-16 19:23:12 +02:00

22 lines
590 B
Nix

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "swaynag-battery";
version = "0.2.0";
src = fetchFromGitHub {
owner = "m00qek";
repo = "swaynag-battery";
rev = "v${version}";
hash = "sha256-7f9+4Fzw5B5ATuud4MJC3iyuNRTx6kwJ7/KsusGtQM8=";
};
vendorSha256 = "h9Zj3zmQ0Xpili5Pl6CXh1L0bb2uL1//B79I4/ron08=";
meta = with lib; {
homepage = "https://github.com/m00qek/swaynag-battery";
description = "Shows a message when your battery is discharging ";
maintainers = with maintainers; [ asbachb ];
license = licenses.mit;
};
}