summary refs log tree commit diff
diff options
context:
space:
mode:
authorVincent Demeester <vincent@sbr.pm>2022-02-11 16:43:55 +0100
committerGitHub <noreply@github.com>2022-02-11 16:43:55 +0100
commitb40ee5991e0e4a8050afe5caf59d48ff9321c486 (patch)
treefda708f8b37838bf2189ba16459e103862e9039f
parent842c4fbcde00597dc1320181e852ff068a828e7f (diff)
downloadnixpkgs-b40ee5991e0e4a8050afe5caf59d48ff9321c486.tar
nixpkgs-b40ee5991e0e4a8050afe5caf59d48ff9321c486.tar.gz
nixpkgs-b40ee5991e0e4a8050afe5caf59d48ff9321c486.tar.bz2
nixpkgs-b40ee5991e0e4a8050afe5caf59d48ff9321c486.tar.lz
nixpkgs-b40ee5991e0e4a8050afe5caf59d48ff9321c486.tar.xz
nixpkgs-b40ee5991e0e4a8050afe5caf59d48ff9321c486.tar.zst
nixpkgs-b40ee5991e0e4a8050afe5caf59d48ff9321c486.zip
gauge: 1.1.6 -> 1.4.3
* gauge: 1.1.6 -> 1.4.3 (#157532)

And switching to buildGoModule.

Signed-off-by: Vincent Demeester <vincent@sbr.pm>

* Set the correct license for gauge (asl20)

Co-authored-by: Renaud <c0bw3b@users.noreply.github.com>
-rw-r--r--pkgs/development/tools/gauge/default.nix21
1 files changed, 11 insertions, 10 deletions
diff --git a/pkgs/development/tools/gauge/default.nix b/pkgs/development/tools/gauge/default.nix
index 168910da06f..1048ca19441 100644
--- a/pkgs/development/tools/gauge/default.nix
+++ b/pkgs/development/tools/gauge/default.nix
@@ -1,24 +1,25 @@
-{ lib, buildGoPackage, fetchFromGitHub }:
+{ lib, buildGoModule, fetchFromGitHub }:
 
-buildGoPackage rec {
+buildGoModule rec {
   pname = "gauge";
-  version = "1.1.6";
+  version = "1.4.3";
 
-  goPackagePath = "github.com/getgauge/gauge";
   excludedPackages = ''\(build\|man\)'';
 
   src = fetchFromGitHub {
     owner = "getgauge";
     repo = "gauge";
     rev = "v${version}";
-    sha256 = "02yrk4d5mm4j2grlhqkf4grxawx91kd2vhdn7k5wd2dl6wsnlgcl";
+    sha256 = "sha256-TszZAREk6Hs2jULjftQAhHRIVKaZ8fw0NLJkBdr0FPw=";
   };
 
+  vendorSha256 = "1wp19m5n85c7lsv8rvcbfz1bv4zhhb7dj1frkdh14cqx70s33q8r";
+
   meta = with lib; {
-   description = "Light weight cross-platform test automation";
-   homepage    = "https://gauge.org";
-   license     = licenses.gpl3;
-   maintainers = [ maintainers.vdemeester ];
-   platforms   = platforms.unix;
+    description = "Light weight cross-platform test automation";
+    homepage = "https://gauge.org";
+    license = licenses.asl20;
+    maintainers = [ maintainers.vdemeester ];
+    platforms = platforms.unix;
   };
 }