systrayhelper: 0.0.5 -> unstable-2021-05-20

This commit is contained in:
Aaron Jheng 2022-11-22 12:46:49 +00:00
parent de6f2b0a07
commit 5ec9630dc0
No known key found for this signature in database
GPG Key ID: F6A547A869D050A3

View File

@ -1,19 +1,19 @@
{ lib, pkg-config, libappindicator-gtk3, buildGoPackage, fetchFromGitHub }:
{ lib, pkg-config, libappindicator-gtk3, buildGoModule, fetchFromGitHub }:
buildGoPackage rec {
buildGoModule rec {
pname = "systrayhelper";
version = "0.0.5";
rev = "ded1f2ed4d30f6ca2c89a13db0bd3046c6d6d0f9";
goPackagePath = "github.com/ssbc/systrayhelper";
version = "unstable-2021-05-20";
rev = "da47887f050cf0f22d9348cb4493df9ffda2a229";
src = fetchFromGitHub {
rev = "v${version}";
owner = "ssbc";
repo = "systrayhelper";
sha256 = "0bn3nf43m89qmh8ds5vmv0phgdz32idz1zisr47jmvqm2ky1a45s";
rev = rev;
hash = "sha256-9ejpARZghXhb3EJDvNcidg5QM8Z+P91ICGuA89ksqeA=";
};
vendorHash = null;
# re date: https://github.com/NixOS/nixpkgs/pull/45997#issuecomment-418186178
# > .. keep the derivation deterministic. Otherwise, we would have to rebuild it every time.
ldflags = [
@ -27,11 +27,13 @@ buildGoPackage rec {
nativeBuildInputs = [ pkg-config libappindicator-gtk3 ];
buildInputs = [ libappindicator-gtk3 ];
doCheck = false; # Display required
meta = with lib; {
description = "A systray utility written in go, using json over stdio for control and events";
homepage = "https://github.com/ssbc/systrayhelper";
homepage = "https://github.com/ssbc/systrayhelper";
maintainers = with maintainers; [ cryptix ];
license = licenses.mit;
license = licenses.mit;
# It depends on the inputs, i guess? not sure about solaris, for instance. go supports it though
# I hope nix can figure this out?! ¯\\_(ツ)_/¯
};