nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildGoModule,
4 fetchFromGitHub,
5}:
6
7buildGoModule rec {
8 pname = "gauge";
9 version = "1.6.15";
10
11 patches = [
12 # adds a check which adds an error message when trying to
13 # install plugins imperatively when using the wrapper
14 ./nix-check.patch
15 ];
16
17 src = fetchFromGitHub {
18 owner = "getgauge";
19 repo = "gauge";
20 rev = "v${version}";
21 hash = "sha256-vBuVK/Lqihj5tDUqfCYDqRhamZnoqL/It7W1VH8tLFg=";
22 };
23
24 vendorHash = "sha256-kU5ZhiJq3YoMIU9608Omp0KEMiS+IHbB6kKol6SZcOs=";
25
26 excludedPackages = [
27 "build"
28 "man"
29 ];
30
31 meta = with lib; {
32 description = "Light weight cross-platform test automation";
33 mainProgram = "gauge";
34 homepage = "https://gauge.org";
35 license = licenses.asl20;
36 maintainers = with maintainers; [
37 vdemeester
38 marie
39 ];
40 };
41}