Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / applications / misc / swaynag-battery / default.nix
blobb58758d8a417416ab2a20a40dcefba3044484bd8
1 { lib, buildGoModule, fetchFromGitHub }:
3 buildGoModule rec {
4   pname = "swaynag-battery";
5   version = "0.2.0";
7   src = fetchFromGitHub {
8     owner = "m00qek";
9     repo = "swaynag-battery";
10     rev = "v${version}";
11     hash = "sha256-7f9+4Fzw5B5ATuud4MJC3iyuNRTx6kwJ7/KsusGtQM8=";
12   };
14   vendorHash = "sha256-h9Zj3zmQ0Xpili5Pl6CXh1L0bb2uL1//B79I4/ron08=";
16   meta = with lib; {
17     homepage = "https://github.com/m00qek/swaynag-battery";
18     description = "Shows a message when your battery is discharging ";
19     maintainers = with maintainers; [ ];
20     license = licenses.mit;
21   };