nixpkgs/pkgs/development/tools/air/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
629 B
Nix
Raw Normal View History

2021-02-24 02:24:15 +00:00
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "air";
version = "1.49.0";
2021-02-24 02:24:15 +00:00
src = fetchFromGitHub {
owner = "cosmtrek";
repo = "air";
rev = "v${version}";
hash = "sha256-6XQakQXGFMepX29KeiLlGM6EI8tiIfmKQuqZQXYNoto=";
2021-02-24 02:24:15 +00:00
};
2023-08-31 01:58:51 +00:00
vendorHash = "sha256-vyuXmQEjy5kPk9cKosHx0JZSZxstYtCNyfLIlRt2bnk=";
2021-02-24 02:24:15 +00:00
2022-08-28 10:31:41 +00:00
ldflags = [ "-s" "-w" "-X=main.airVersion=${version}" ];
2021-02-24 02:24:15 +00:00
subPackages = [ "." ];
meta = with lib; {
description = "Live reload for Go apps";
homepage = "https://github.com/cosmtrek/air";
license = licenses.gpl3Only;
maintainers = with maintainers; [ Gonzih ];
};
}