goat-cli: init at 1.1.0

kashw2 f45ee991 f6013ee8

+55
+12
pkgs/by-name/go/goat-cli/mock-fix.patch
··· 1 + diff --git a/pkg/goatfile/unmarshal_test.go b/pkg/goatfile/unmarshal_test.go 2 + index 089e89f..5b4191b 100644 3 + --- a/pkg/goatfile/unmarshal_test.go 4 + +++ b/pkg/goatfile/unmarshal_test.go 5 + @@ -8,7 +8,6 @@ import ( 6 + 7 + "github.com/golang/mock/gomock" 8 + "github.com/stretchr/testify/assert" 9 + - "github.com/studio-b12/goat/mocks" 10 + "github.com/studio-b12/goat/pkg/set" 11 + ) 12 +
+43
pkgs/by-name/go/goat-cli/package.nix
··· 1 + { 2 + lib, 3 + fetchFromGitHub, 4 + buildGoModule, 5 + fetchpatch, 6 + }: 7 + 8 + buildGoModule rec { 9 + pname = "goat-cli"; 10 + version = "1.1.0"; 11 + 12 + src = fetchFromGitHub { 13 + repo = "goat"; 14 + owner = "studio-b12"; 15 + rev = "v${version}"; 16 + hash = "sha256-H7ea3XOBfQ7bIX5SbxPd+fcSlMurSWXGXe+/LsqSc0A="; 17 + }; 18 + 19 + vendorHash = "sha256-DtEXgGYSkWO876so6LEOkhVwDt/zrflDZdY4O2lz1mw="; 20 + 21 + ldflags = [ 22 + "-s" 23 + "-w" 24 + "-X github.com/studio-b12/goat/internal/version.Version=${version}" 25 + "-X github.com/studio-b12/goat/internal/version.CommitHash=${src.rev}" 26 + ]; 27 + 28 + patches = [ 29 + ./mock-fix.patch 30 + ]; 31 + 32 + # Checks currently fail because of an issue with github.com/studio-b12/goat/mocks 33 + doCheck = false; 34 + 35 + meta = { 36 + description = "Integration testing tool for HTTP APIs using a simple script language"; 37 + homepage = "https://studio-b12.github.io/goat/"; 38 + license = lib.licenses.bsd3; 39 + maintainers = with lib.maintainers; [ kashw2 ]; 40 + mainProgram = "goat"; 41 + }; 42 + 43 + }