42 lines
822 B
Nix
42 lines
822 B
Nix
{
|
|
lib,
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "gauge";
|
|
version = "1.6.20";
|
|
|
|
patches = [
|
|
# adds a check which adds an error message when trying to
|
|
# install plugins imperatively when using the wrapper
|
|
./nix-check.patch
|
|
];
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "getgauge";
|
|
repo = "gauge";
|
|
tag = "v${version}";
|
|
hash = "sha256-Ynyi2ph1L9SfxDwgXqw55nieP5o9LyHxKw4HYQEhXEo=";
|
|
};
|
|
|
|
vendorHash = "sha256-vv77sD+H2PI06iaJWNGoT4Oe53Shc7QxlSL1nX4i4+Y=";
|
|
|
|
excludedPackages = [
|
|
"build"
|
|
"man"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Light weight cross-platform test automation";
|
|
mainProgram = "gauge";
|
|
homepage = "https://gauge.org";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [
|
|
vdemeester
|
|
marie
|
|
];
|
|
};
|
|
}
|