{ lib, buildGoModule, fetchFromGitHub }: buildGoModule rec { pname = "go-task"; version = "3.3.0"; src = fetchFromGitHub { owner = pname; repo = "task"; rev = "v${version}"; sha256 = "sha256-+JhU0DXSUbpaHWJYEgiUwsR8DucGRwkiNiKDyhJroqk="; }; vendorSha256 = "sha256-pNKzqUtEIQs0TP387ACHfCv1RsMjZi7O8P1A8df+QtI="; doCheck = false; subPackages = [ "cmd/task" ]; buildFlagsArray = [ "-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 ]; }; }