Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 38 lines 840 B view raw
1{ 2 lib, 3 buildGoModule, 4 fetchFromGitHub, 5}: 6 7buildGoModule { 8 pname = "goconvey"; 9 version = "1.8.1-unstable-2024-03-06"; 10 11 excludedPackages = "web/server/watch/integration_testing"; 12 13 src = fetchFromGitHub { 14 owner = "smartystreets"; 15 repo = "goconvey"; 16 rev = "a50310f1e3e53e63e2d23eb904f853aa388a5988"; 17 hash = "sha256-w5eX/n6Wu2gYgCIhgtjqH3lNckWIDaN4r80cJW3JqFo="; 18 }; 19 20 vendorHash = "sha256-P4J/CZY95ks08DC+gSqG+eanL3zoiaoz1d9/ZvBoc9Q="; 21 22 ldflags = [ 23 "-s" 24 "-w" 25 ]; 26 27 checkFlags = [ 28 "-short" 29 ]; 30 31 meta = { 32 description = "Go testing in the browser. Integrates with `go test`. Write behavioral tests in Go"; 33 mainProgram = "goconvey"; 34 homepage = "https://github.com/smartystreets/goconvey"; 35 license = lib.licenses.mit; 36 maintainers = with lib.maintainers; [ vdemeester ]; 37 }; 38}