{ lib, buildGoModule, fetchFromGitHub }: buildGoModule rec { pname = "go-task"; version = "3.7.3"; src = fetchFromGitHub { owner = pname; repo = "task"; rev = "v${version}"; sha256 = "sha256-/NeOMLfYU37Ra7RG/vofq+45Thky6kfGDcgnQxVLVGo="; }; vendorSha256 = "sha256-NU0Mgt8TJE/uE9/f2pFLRT0x6ZgCDbRcomlMFkA+juA="; doCheck = false; subPackages = [ "cmd/task" ]; ldflags = [ "-s" "-w" "-X main.version=${version}" ]; postInstall = '' ln -s $out/bin/task $out/bin/go-task ''; meta = with lib; { homepage = "https://taskfile.dev/"; description = "A task runner / simpler Make alternative written in Go"; license = licenses.mit; maintainers = with maintainers; [ parasrah ]; }; }