2022-05-03 00:12:54 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2018-01-02 10:19:41 +00:00
|
|
|
|
2022-05-03 00:12:54 +00:00
|
|
|
buildGoModule rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "goconvey";
|
2023-04-18 07:39:43 +00:00
|
|
|
version = "1.8.0";
|
2018-01-02 10:19:41 +00:00
|
|
|
|
|
|
|
excludedPackages = "web/server/watch/integration_testing";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "smartystreets";
|
|
|
|
repo = "goconvey";
|
2022-05-03 00:12:54 +00:00
|
|
|
rev = "v${version}";
|
2023-04-18 07:39:43 +00:00
|
|
|
sha256 = "sha256-JgforTGu5aiQHltZrAfy16Bsu4UJ2pj6cCiof6sxz7s=";
|
2018-01-02 10:19:41 +00:00
|
|
|
};
|
|
|
|
|
2023-04-18 07:39:43 +00:00
|
|
|
vendorHash = "sha256-CCtWsljI14VOGjPid6ouzvieDbylh9ljoUcAoR9r4b4=";
|
2022-05-03 00:12:54 +00:00
|
|
|
|
|
|
|
ldflags = [ "-s" "-w" ];
|
|
|
|
|
2022-05-20 23:51:28 +00:00
|
|
|
preCheck = ''
|
|
|
|
buildFlagsArray+="-short"
|
|
|
|
'';
|
2022-05-03 00:12:54 +00:00
|
|
|
|
2018-01-02 10:19:41 +00:00
|
|
|
meta = {
|
2020-10-11 05:55:05 +00:00
|
|
|
description = "Go testing in the browser. Integrates with `go test`. Write behavioral tests in Go";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/smartystreets/goconvey";
|
2021-01-23 12:26:19 +00:00
|
|
|
license = lib.licenses.mit;
|
2022-05-03 00:12:54 +00:00
|
|
|
maintainers = with lib.maintainers; [ vdemeester ];
|
2018-01-02 10:19:41 +00:00
|
|
|
};
|
|
|
|
}
|