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

25 lines
573 B
Nix
Raw Normal View History

2021-02-24 02:24:15 +00:00
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "air";
2022-02-10 17:39:34 +00:00
version = "1.27.10";
2021-02-24 02:24:15 +00:00
src = fetchFromGitHub {
owner = "cosmtrek";
repo = "air";
rev = "v${version}";
2022-02-10 17:39:34 +00:00
sha256 = "sha256-mgFLelf0TPjJK/keQz+s52fKlruSn6+KTPj+waJuQdU=";
2021-02-24 02:24:15 +00:00
};
2022-02-10 17:39:34 +00:00
vendorSha256 = "sha256-MEIPkron42OJioV7PPhnLWVevjKDs5Bw3jDmvZbac9s=";
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 ];
};
}