nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
fork

Configure Feed

Select the types of activity you want to include in your feed.

at netboot-syslinux-multiplatform 44 lines 1.5 kB view raw
1{ lib, buildGoModule, fetchFromGitHub, testers, ginkgo }: 2 3buildGoModule rec { 4 pname = "ginkgo"; 5 version = "2.9.5"; 6 7 src = fetchFromGitHub { 8 owner = "onsi"; 9 repo = "ginkgo"; 10 rev = "v${version}"; 11 sha256 = "sha256-1Hb8pCvPs/L5UU280XwwEOnQ1CjJjgw0+GdCbtLkIpg="; 12 }; 13 vendorHash = "sha256-IxyPRUS7aqkfZ+hjtuopCd95dgiTgVdg1thSiTBZArg="; 14 15 # integration tests expect more file changes 16 # types tests are missing CodeLocation 17 excludedPackages = [ "integration" "types" ]; 18 19 __darwinAllowLocalNetworking = true; 20 21 passthru.tests.version = testers.testVersion { 22 package = ginkgo; 23 command = "ginkgo version"; 24 }; 25 26 meta = with lib; { 27 homepage = "https://onsi.github.io/ginkgo/"; 28 changelog = "https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md"; 29 description = "A Modern Testing Framework for Go"; 30 longDescription = '' 31 Ginkgo is a testing framework for Go designed to help you write expressive 32 tests. It is best paired with the Gomega matcher library. When combined, 33 Ginkgo and Gomega provide a rich and expressive DSL 34 (Domain-specific Language) for writing tests. 35 36 Ginkgo is sometimes described as a "Behavior Driven Development" (BDD) 37 framework. In reality, Ginkgo is a general purpose testing framework in 38 active use across a wide variety of testing contexts: unit tests, 39 integration tests, acceptance test, performance tests, etc. 40 ''; 41 license = licenses.mit; 42 maintainers = with maintainers; [ saschagrunert jk ]; 43 }; 44}