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