depot/third_party/nixpkgs/pkgs/development/tools/gauge/default.nix

32 lines
788 B
Nix
Raw Normal View History

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "gauge";
version = "1.6.7";
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";
rev = "v${version}";
hash = "sha256-+6b34nCuoBGd9v9eoAgthxYboGWDM8rCU56VXpVKdQc=";
};
vendorHash = "sha256-VVHsldLfLrdufSBLbgSlniYK1+64651DL8gzw5VHans=";
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 ];
};
}