3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/tools/ginkgo/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

38 lines
1.3 KiB
Nix
Raw Normal View History

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "ginkgo";
2022-02-16 08:53:35 +00:00
version = "2.1.3";
src = fetchFromGitHub {
owner = "onsi";
repo = "ginkgo";
rev = "v${version}";
2022-02-16 08:53:35 +00:00
sha256 = "sha256-q+m1NDl9zd6ueyBTzbzlvHIQyoIul5dAfUQ6UK4wlrc=";
};
2022-01-11 10:17:12 +00:00
vendorSha256 = "sha256-kMQ60HdsorZU27qoOY52DpwFwP+Br2bp8mRx+ZwnQlI=";
2022-02-07 20:29:10 +00:00
# integration tests expect more file changes
# types tests are missing CodeLocation
excludedPackages = "\\(integration\\|types\\)";
meta = with lib; {
2022-02-07 20:29:10 +00:00
homepage = "https://onsi.github.io/ginkgo/";
changelog = "https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md";
description = "A Modern Testing Framework for Go";
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;
2022-02-07 20:29:10 +00:00
maintainers = with maintainers; [ saschagrunert jk ];
};
}