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

25 lines
572 B
Nix
Raw Normal View History

2021-02-24 03:24:15 +01:00
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "air";
2021-12-05 18:46:51 +01:00
version = "1.27.8";
2021-02-24 03:24:15 +01:00
src = fetchFromGitHub {
owner = "cosmtrek";
repo = "air";
rev = "v${version}";
2021-12-05 18:46:51 +01:00
sha256 = "sha256-CVx4TDDAVIrJ3lnD2AIuxhmTV+/sIA0viX20zFkznNc=";
2021-02-24 03:24:15 +01:00
};
2021-12-05 18:46:51 +01:00
vendorSha256 = "sha256-dloXz1hiKAQUmSQv1rLbE5vYrZpKAcwakC71AFXWZqM=";
2021-02-24 03:24:15 +01:00
subPackages = [ "." ];
meta = with lib; {
description = "Live reload for Go apps";
homepage = "https://github.com/cosmtrek/air";
license = licenses.gpl3Only;
maintainers = with maintainers; [ Gonzih ];
};
}