2022-05-18 14:49:53 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-05-18 14:49:53 +00:00
|
|
|
buildGoModule rec {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "goconvey";
|
2022-05-18 14:49:53 +00:00
|
|
|
version = "1.7.2";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
excludedPackages = "web/server/watch/integration_testing";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "smartystreets";
|
|
|
|
repo = "goconvey";
|
2022-05-18 14:49:53 +00:00
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "sha256-YT9M9VaLIGUo6pdkaLWLtomcjrDqdnOqwl+C9UwDmT8=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2022-05-18 14:49:53 +00:00
|
|
|
vendorSha256 = "sha256-sHyK/4YdNCLCDjxjMKygWAVRnHZ1peYjYRYyEcqoe+E=";
|
|
|
|
|
|
|
|
ldflags = [ "-s" "-w" ];
|
|
|
|
|
|
|
|
checkFlags = [ "-short" ];
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
meta = {
|
2020-10-19 00:13:06 +00:00
|
|
|
description = "Go testing in the browser. Integrates with `go test`. Write behavioral tests in Go";
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/smartystreets/goconvey";
|
2021-02-05 17:12:51 +00:00
|
|
|
license = lib.licenses.mit;
|
2022-05-18 14:49:53 +00:00
|
|
|
maintainers = with lib.maintainers; [ vdemeester ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|