Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
58 lines
1.6 KiB
Nix
58 lines
1.6 KiB
Nix
{
|
|
lib,
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
testers,
|
|
ginkgo,
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "ginkgo";
|
|
version = "2.26.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "onsi";
|
|
repo = "ginkgo";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-sf8rGRLSX3AsUSGqBXzb0KRwKqpmRiD+U9V/ldLqwps=";
|
|
};
|
|
vendorHash = "sha256-CUoVFKA/LQNVf4gnjqguYjPTF4ZdxA+QSJmw/UeUsrM=";
|
|
|
|
# integration tests expect more file changes
|
|
# types tests are missing CodeLocation
|
|
excludedPackages = [
|
|
"integration"
|
|
"types"
|
|
];
|
|
|
|
__darwinAllowLocalNetworking = true;
|
|
|
|
passthru.tests.version = testers.testVersion {
|
|
package = ginkgo;
|
|
command = "ginkgo version";
|
|
};
|
|
|
|
meta = with lib; {
|
|
homepage = "https://onsi.github.io/ginkgo/";
|
|
changelog = "https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md";
|
|
description = "Modern Testing Framework for Go";
|
|
mainProgram = "ginkgo";
|
|
longDescription = ''
|
|
Ginkgo is a testing framework for Go designed to help you write expressive
|
|
tests. It is best paired with the Gomega matcher library. When combined,
|
|
Ginkgo and Gomega provide a rich and expressive DSL
|
|
(Domain-specific Language) for writing tests.
|
|
|
|
Ginkgo is sometimes described as a "Behavior Driven Development" (BDD)
|
|
framework. In reality, Ginkgo is a general purpose testing framework in
|
|
active use across a wide variety of testing contexts: unit tests,
|
|
integration tests, acceptance test, performance tests, etc.
|
|
'';
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [
|
|
saschagrunert
|
|
jk
|
|
];
|
|
};
|
|
}
|