1 { buildGoModule, fetchFromGitHub, lib }:
7 src = fetchFromGitHub {
11 sha256 = "0hgh1i8rdmf12qmk66cgksv8hz5qzkfbfb6cfmrkhbq765xkm4ir";
14 vendorSha256 = "1l47s0h0v4cgqcsm5008cknvfa4vnv6f7n43d8ga0xq5ikqqzmja";
19 mv $out/bin/cli $out/bin/gotify
23 "-ldflags=-X main.Version=${version} -X main.Commit=${version} -X main.BuildDate=1970-01-01"
27 license = licenses.mit;
28 homepage = "https://github.com/gotify/cli";
29 description = "A command line interface for pushing messages to gotify/server";
30 maintainers = with maintainers; [ ma27 ];