nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 fetchFromGitHub,
4 # Build fails with Go 1.25, with the following error:
5 # 'vendor/golang.org/x/tools/internal/tokeninternal/tokeninternal.go:64:9: invalid array length -delta * delta (constant -256 of type int64)'
6 # Wait for upstream to update their vendored dependencies before unpinning.
7 buildGo124Module,
8}:
9
10buildGo124Module {
11 pname = "goconvey";
12 version = "1.8.1-unstable-2024-03-06";
13
14 excludedPackages = "web/server/watch/integration_testing";
15
16 src = fetchFromGitHub {
17 owner = "smartystreets";
18 repo = "goconvey";
19 rev = "a50310f1e3e53e63e2d23eb904f853aa388a5988";
20 hash = "sha256-w5eX/n6Wu2gYgCIhgtjqH3lNckWIDaN4r80cJW3JqFo=";
21 };
22
23 vendorHash = "sha256-P4J/CZY95ks08DC+gSqG+eanL3zoiaoz1d9/ZvBoc9Q=";
24
25 ldflags = [
26 "-s"
27 "-w"
28 ];
29
30 checkFlags = [
31 "-short"
32 ];
33
34 meta = {
35 description = "Go testing in the browser. Integrates with `go test`. Write behavioral tests in Go";
36 mainProgram = "goconvey";
37 homepage = "https://github.com/smartystreets/goconvey";
38 license = lib.licenses.mit;
39 maintainers = with lib.maintainers; [ vdemeester ];
40 };
41}