10 pname = "systrayhelper";
11 version = "unstable-2021-05-20";
12 rev = "da47887f050cf0f22d9348cb4493df9ffda2a229";
14 src = fetchFromGitHub {
16 repo = "systrayhelper";
18 hash = "sha256-9ejpARZghXhb3EJDvNcidg5QM8Z+P91ICGuA89ksqeA=";
23 # re date: https://github.com/NixOS/nixpkgs/pull/45997#issuecomment-418186178
24 # > .. keep the derivation deterministic. Otherwise, we would have to rebuild it every time.
26 "-X main.version=v${version}"
27 "-X main.commit=${rev}"
28 "-X main.date=nix-byrev"
37 buildInputs = [ libappindicator-gtk3 ];
39 doCheck = false; # Display required
42 description = "Systray utility written in go, using json over stdio for control and events";
43 homepage = "https://github.com/ssbc/systrayhelper";
44 maintainers = with maintainers; [ cryptix ];
45 license = licenses.mit;
46 # It depends on the inputs, i guess? not sure about solaris, for instance. go supports it though
47 # I hope nix can figure this out?! ¯\\_(ツ)_/¯
48 mainProgram = "systrayhelper";