forked from mirrors/nixpkgs
25 lines
572 B
Nix
25 lines
572 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "air";
|
|
version = "1.27.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "cosmtrek";
|
|
repo = "air";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-QO3cPyr2FqCdoiax/V0fe7kRwT61T3efnfO8uWp8rRM=";
|
|
};
|
|
|
|
vendorSha256 = "sha256-B7AgUFjiW3P1dU88u3kswbCQJ7Qq7rgPlX+b+3Pq1L4=";
|
|
|
|
subPackages = [ "." ];
|
|
|
|
meta = with lib; {
|
|
description = "Live reload for Go apps";
|
|
homepage = "https://github.com/cosmtrek/air";
|
|
license = licenses.gpl3Only;
|
|
maintainers = with maintainers; [ Gonzih ];
|
|
};
|
|
}
|