Skip to content

Commit

Permalink
Merge pull request #114201 from Gonzih/go-air-init
Browse files Browse the repository at this point in the history
air: init at 1.15.1
  • Loading branch information
fabaff committed Feb 25, 2021
2 parents 98facd4 + c411077 commit 772406c
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
24 changes: 24 additions & 0 deletions pkgs/development/tools/air/default.nix
@@ -0,0 +1,24 @@
{ lib, buildGoModule, fetchFromGitHub }:

buildGoModule rec {
pname = "air";
version = "1.15.1";

src = fetchFromGitHub {
owner = "cosmtrek";
repo = "air";
rev = "v${version}";
sha256 = "0d34k8hyag84j24bhax4gvg8mkzqyhdqd16rfirpfjiqvqh0vdkz";
};

vendorSha256 = "0k28rxnd0vyb6ljbi83bm1gl7j4r660a3ckjxnzc2qzwvfj69g53";

subPackages = [ "." ];

meta = with lib; {
description = "Live reload for Go apps";
homepage = "https://github.com/cosmtrek/air";
license = licenses.gpl3Only;
maintainers = with maintainers; [ Gonzih ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Expand Up @@ -19772,6 +19772,8 @@ in
open-vm-tools = callPackage ../applications/virtualization/open-vm-tools { };
open-vm-tools-headless = open-vm-tools.override { withX = false; };

air = callPackage ../development/tools/air { };

delve = callPackage ../development/tools/delve { };

dep = callPackage ../development/tools/dep { };
Expand Down

0 comments on commit 772406c

Please sign in to comment.