chromium,chromedriver: 129.0.6668.91 -> 129.0.6668.100
[NixPkgs.git] / pkgs / by-name / ya / yanic / package.nix
blob459963c19303250ef306d9a63de238cc7669fa5a
1 { lib
2 , buildGoModule
3 , fetchFromGitHub
4 , installShellFiles
5 }:
7 buildGoModule rec {
8   pname = "yanic";
9   version = "1.6.2";
11   src = fetchFromGitHub {
12     owner = "FreifunkBremen";
13     repo = "yanic";
14     rev = "v${version}";
15     hash = "sha256-z2vr1QmRCo8y4hopWP14xSV7lsWKkCzK9OehlVLFdIg=";
16   };
18   vendorHash = "sha256-6UiiajKLzW5e7y0F6GMYDZP6xTyOiccLIKlwvOY7LRo=";
20   ldflags = [
21     "-X github.com/FreifunkBremen/yanic/cmd.VERSION=${version}"
22     "-s"
23     "-w"
24   ];
26   nativeBuildInputs = [ installShellFiles ];
28   postInstall = ''
29     installShellCompletion --cmd yanic \
30       --bash <($out/bin/yanic completion bash) \
31       --fish <($out/bin/yanic completion fish) \
32       --zsh <($out/bin/yanic completion zsh)
33   '';
35   meta = with lib; {
36     description = "Tool to collect and aggregate respondd data";
37     homepage = "https://github.com/FreifunkBremen/yanic";
38     changelog = "https://github.com/FreifunkBremen/yanic/releases/tag/${src.rev}";
39     license = licenses.agpl3Only;
40     maintainers = with maintainers; [ herbetom ];
41     mainProgram = "yanic";
42   };