base16-schemes: unstable-2024-06-21 -> unstable-2024-11-12
[NixPkgs.git] / pkgs / by-name / ai / air / package.nix
blob9fd633197110adb4bf1c679609aeccb9145d1329
2   lib,
3   buildGoModule,
4   fetchFromGitHub,
5 }:
7 buildGoModule rec {
8   pname = "air";
9   version = "1.61.1";
11   src = fetchFromGitHub {
12     owner = "air-verse";
13     repo = "air";
14     rev = "v${version}";
15     hash = "sha256-IwPUbz3JYKz0TeK/kbEUzqFp0l8u/AFu9KEAyR8zlSQ=";
16   };
18   vendorHash = "sha256-BY2KnAwlrIyqSHWFLD0QU93EXAv4ta/ibvYWiHXvYMc=";
20   ldflags = [
21     "-s"
22     "-w"
23     "-X=main.airVersion=${version}"
24   ];
26   subPackages = [ "." ];
28   meta = with lib; {
29     description = "Live reload for Go apps";
30     mainProgram = "air";
31     homepage = "https://github.com/air-verse/air";
32     license = licenses.gpl3Only;
33     maintainers = with maintainers; [ Gonzih ];
34   };