Merge pull request #317256 from RaghavSood/air/fix-upstream
air: update upstream organization
This commit is contained in:
commit
9b54ea06a9
@ -1,11 +1,15 @@
|
|||||||
{ lib, buildGoModule, fetchFromGitHub }:
|
{
|
||||||
|
lib,
|
||||||
|
buildGoModule,
|
||||||
|
fetchFromGitHub,
|
||||||
|
}:
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "air";
|
pname = "air";
|
||||||
version = "1.52.1";
|
version = "1.52.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "cosmtrek";
|
owner = "air-verse";
|
||||||
repo = "air";
|
repo = "air";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-KTutLvcLH1dOsJFDaEU2c4wGbQyRE7qUHah4mEXCL08=";
|
hash = "sha256-KTutLvcLH1dOsJFDaEU2c4wGbQyRE7qUHah4mEXCL08=";
|
||||||
@ -13,14 +17,18 @@ buildGoModule rec {
|
|||||||
|
|
||||||
vendorHash = "sha256-dSu00NAq6hEOdJxXp+12UaUq32z53Wzla3/u+2nxqPw=";
|
vendorHash = "sha256-dSu00NAq6hEOdJxXp+12UaUq32z53Wzla3/u+2nxqPw=";
|
||||||
|
|
||||||
ldflags = [ "-s" "-w" "-X=main.airVersion=${version}" ];
|
ldflags = [
|
||||||
|
"-s"
|
||||||
|
"-w"
|
||||||
|
"-X=main.airVersion=${version}"
|
||||||
|
];
|
||||||
|
|
||||||
subPackages = [ "." ];
|
subPackages = [ "." ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Live reload for Go apps";
|
description = "Live reload for Go apps";
|
||||||
mainProgram = "air";
|
mainProgram = "air";
|
||||||
homepage = "https://github.com/cosmtrek/air";
|
homepage = "https://github.com/air-verse/air";
|
||||||
license = licenses.gpl3Only;
|
license = licenses.gpl3Only;
|
||||||
maintainers = with maintainers; [ Gonzih ];
|
maintainers = with maintainers; [ Gonzih ];
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user