depot/pkgs/development/tools/gauge/default.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

31 lines
788 B
Nix

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "gauge";
version = "1.6.9";
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-YjLBfQ6L3UwcgQ9LgUfnNSegNhQI8/Gb5Hdpe0/uzOc=";
};
vendorHash = "sha256-Uir/umJNnTHWEKPbVch0Pq7B3hVim8BMtGc/M9esADw=";
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 ];
};
}