Merge pull request #93619 from Parasrah/go-task

go-task: init at 2.8.1

authored by danieldk.tngl.sh and committed by

GitHub 370a71c7 883af843

+41
+6
maintainers/maintainer-list.nix
··· 6160 6160 githubId = 20792; 6161 6161 name = "Sebastian Galkin"; 6162 6162 }; 6163 + parasrah = { 6164 + email = "nixos@parasrah.com"; 6165 + github = "parasrah"; 6166 + githubId = 14935550; 6167 + name = "Brad Pfannmuller"; 6168 + }; 6163 6169 pashashocky = { 6164 6170 email = "pashashocky@gmail.com"; 6165 6171 github = "pashashocky";
+33
pkgs/development/tools/go-task/default.nix
··· 1 + { lib, buildGoModule, fetchFromGitHub }: 2 + 3 + buildGoModule rec { 4 + pname = "go-task"; 5 + version = "2.8.1"; 6 + 7 + src = fetchFromGitHub { 8 + owner = pname; 9 + repo = "task"; 10 + rev = "v${version}"; 11 + sha256 = "1yf5s22q4hsxvgzrj4k6gbbq0whl5b9j12mbwimxaf53q535wy4q"; 12 + }; 13 + 14 + vendorSha256 = null; 15 + 16 + subPackages = [ "cmd/task" ]; 17 + 18 + buildFlagsArray = [ 19 + "-ldflags=-s -w -X main.version=${version}" 20 + ]; 21 + 22 + postInstall = '' 23 + mv $out/bin/task $out/bin/go-task 24 + ''; 25 + 26 + meta = with lib; { 27 + homepage = "https://taskfile.dev/"; 28 + description = "A task runner / simpler Make alternative written in Go"; 29 + license = licenses.mit; 30 + platforms = platforms.all; 31 + maintainers = with maintainers; [ parasrah ]; 32 + }; 33 + }
+2
pkgs/top-level/all-packages.nix
··· 17724 17724 17725 17725 gotags = callPackage ../development/tools/gotags { }; 17726 17726 17727 + go-task = callPackage ../development/tools/go-task { }; 17728 + 17727 17729 golint = callPackage ../development/tools/golint { }; 17728 17730 17729 17731 golangci-lint = callPackage ../development/tools/golangci-lint { };