goat-cli: init at 1.1.0 (#275801)
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
diff --git a/pkg/goatfile/unmarshal_test.go b/pkg/goatfile/unmarshal_test.go
|
||||
index 089e89f..5b4191b 100644
|
||||
--- a/pkg/goatfile/unmarshal_test.go
|
||||
+++ b/pkg/goatfile/unmarshal_test.go
|
||||
@@ -8,7 +8,6 @@ import (
|
||||
|
||||
"github.com/golang/mock/gomock"
|
||||
"github.com/stretchr/testify/assert"
|
||||
- "github.com/studio-b12/goat/mocks"
|
||||
"github.com/studio-b12/goat/pkg/set"
|
||||
)
|
||||
|
||||
@@ -0,0 +1,43 @@
|
||||
{
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
buildGoModule,
|
||||
fetchpatch,
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "goat-cli";
|
||||
version = "1.1.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
repo = "goat";
|
||||
owner = "studio-b12";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-H7ea3XOBfQ7bIX5SbxPd+fcSlMurSWXGXe+/LsqSc0A=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-DtEXgGYSkWO876so6LEOkhVwDt/zrflDZdY4O2lz1mw=";
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
"-w"
|
||||
"-X github.com/studio-b12/goat/internal/version.Version=${version}"
|
||||
"-X github.com/studio-b12/goat/internal/version.CommitHash=${src.rev}"
|
||||
];
|
||||
|
||||
patches = [
|
||||
./mock-fix.patch
|
||||
];
|
||||
|
||||
# Checks currently fail because of an issue with github.com/studio-b12/goat/mocks
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "Integration testing tool for HTTP APIs using a simple script language";
|
||||
homepage = "https://studio-b12.github.io/goat/";
|
||||
license = lib.licenses.bsd3;
|
||||
maintainers = with lib.maintainers; [ kashw2 ];
|
||||
mainProgram = "goat";
|
||||
};
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user