nixpkgs/pkgs/development/tools/goconvey/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

31 lines
767 B
Nix
Raw Normal View History

2022-05-03 00:12:54 +00:00
{ lib, buildGoModule, fetchFromGitHub }:
2022-05-03 00:12:54 +00:00
buildGoModule rec {
pname = "goconvey";
2023-04-18 07:39:43 +00:00
version = "1.8.0";
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=";
};
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
meta = {
description = "Go testing in the browser. Integrates with `go test`. Write behavioral tests in Go";
homepage = "https://github.com/smartystreets/goconvey";
license = lib.licenses.mit;
2022-05-03 00:12:54 +00:00
maintainers = with lib.maintainers; [ vdemeester ];
};
}