From b40ee5991e0e4a8050afe5caf59d48ff9321c486 Mon Sep 17 00:00:00 2001 From: Vincent Demeester Date: Fri, 11 Feb 2022 16:43:55 +0100 Subject: [PATCH] gauge: 1.1.6 -> 1.4.3 * gauge: 1.1.6 -> 1.4.3 (#157532) And switching to buildGoModule. Signed-off-by: Vincent Demeester * Set the correct license for gauge (asl20) Co-authored-by: Renaud --- pkgs/development/tools/gauge/default.nix | 21 +++++++++++---------- 1 file 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; }; }