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
769 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";
2022-05-03 00:12:54 +00:00
version = "1.7.2";
excludedPackages = "web/server/watch/integration_testing";
src = fetchFromGitHub {
owner = "smartystreets";
repo = "goconvey";
2022-05-03 00:12:54 +00:00
rev = "v${version}";
sha256 = "sha256-YT9M9VaLIGUo6pdkaLWLtomcjrDqdnOqwl+C9UwDmT8=";
};
2022-05-03 00:12:54 +00:00
vendorSha256 = "sha256-sHyK/4YdNCLCDjxjMKygWAVRnHZ1peYjYRYyEcqoe+E=";
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 ];
};
}