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

25 lines
572 B
Nix
Raw Normal View History

2021-02-23 18:24:15 -08:00
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "air";
2021-04-25 12:48:08 -07:00
version = "1.27.2";
2021-02-23 18:24:15 -08:00
src = fetchFromGitHub {
owner = "cosmtrek";
repo = "air";
rev = "v${version}";
2021-04-25 12:48:08 -07:00
sha256 = "sha256-VQymiDge42JBQwAHfHMF8imBC90uPout0fZRuQVOP5w=";
2021-02-23 18:24:15 -08:00
};
2021-04-10 22:07:18 -07:00
vendorSha256 = "sha256-B7AgUFjiW3P1dU88u3kswbCQJ7Qq7rgPlX+b+3Pq1L4=";
2021-02-23 18:24:15 -08:00
subPackages = [ "." ];
meta = with lib; {
description = "Live reload for Go apps";
homepage = "https://github.com/cosmtrek/air";
license = licenses.gpl3Only;
maintainers = with maintainers; [ Gonzih ];
};
}