1 { lib, buildGoPackage, fetchgit }:
3 # To use upower-notify, the maintainer suggests adding something like this to your configuration.nix:
5 # service.xserver.displayManager.sessionCommands = ''
6 # ${pkgs.dunst}/bin/dunst -shrink -geometry 0x0-50-50 -key space & # ...if don't already have a dbus notification display app
7 # (sleep 3; exec ${pkgs.yeshup}/bin/yeshup ${pkgs.go-upower-notify}/bin/upower-notify) &
10 pname = "upower-notify";
11 version = "20160310-${lib.strings.substring 0 7 rev}";
12 rev = "14c581e683a7e90ec9fa6d409413c16599a5323c";
14 goPackagePath = "github.com/omeid/upower-notify";
18 url = "https://github.com/omeid/upower-notify";
19 sha256 = "16zlvn53p9m10ph8n9gps51fkkvl6sf4afdzni6azk05j0ng49jw";