From 60bca58f6f0d7f33bb908a1fff03076093c42041 Mon Sep 17 00:00:00 2001 From: Parasrah Date: Wed, 22 Jul 2020 18:44:39 -0600 Subject: [PATCH 1/2] maintainers: add parasrah --- maintainers/maintainer-list.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index b9c93d87815..5801f6f7e02 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -6160,6 +6160,12 @@ githubId = 20792; name = "Sebastian Galkin"; }; + parasrah = { + email = "nixos@parasrah.com"; + github = "parasrah"; + githubId = 14935550; + name = "Brad Pfannmuller"; + }; pashashocky = { email = "pashashocky@gmail.com"; github = "pashashocky"; From 669155b09da185335730fd39a84edf2834558804 Mon Sep 17 00:00:00 2001 From: Parasrah Date: Wed, 22 Jul 2020 18:48:48 -0600 Subject: [PATCH 2/2] go-task: init at 2.8.1 --- pkgs/development/tools/go-task/default.nix | 33 ++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 35 insertions(+) create mode 100644 pkgs/development/tools/go-task/default.nix diff --git a/pkgs/development/tools/go-task/default.nix b/pkgs/development/tools/go-task/default.nix new file mode 100644 index 00000000000..eb20ec726e3 --- /dev/null +++ b/pkgs/development/tools/go-task/default.nix @@ -0,0 +1,33 @@ +{ lib, buildGoModule, fetchFromGitHub }: + +buildGoModule rec { + pname = "go-task"; + version = "2.8.1"; + + src = fetchFromGitHub { + owner = pname; + repo = "task"; + rev = "v${version}"; + sha256 = "1yf5s22q4hsxvgzrj4k6gbbq0whl5b9j12mbwimxaf53q535wy4q"; + }; + + vendorSha256 = null; + + subPackages = [ "cmd/task" ]; + + buildFlagsArray = [ + "-ldflags=-s -w -X main.version=${version}" + ]; + + postInstall = '' + mv $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; + platforms = platforms.all; + maintainers = with maintainers; [ parasrah ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 74efc6ad320..b82c13a4dca 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -17679,6 +17679,8 @@ in gotags = callPackage ../development/tools/gotags { }; + go-task = callPackage ../development/tools/go-task { }; + golint = callPackage ../development/tools/golint { }; golangci-lint = callPackage ../development/tools/golangci-lint { };