From 2b071e05f02d0ef4011ca77b50e93fd146be09ba Mon Sep 17 00:00:00 2001 From: Michael Adler Date: Mon, 25 Apr 2022 15:00:43 +0200 Subject: [PATCH] go-license-detector: 3.1.0 -> 4.3.0 --- .../tools/misc/go-license-detector/default.nix | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/pkgs/development/tools/misc/go-license-detector/default.nix b/pkgs/development/tools/misc/go-license-detector/default.nix index fc69d8cdd129..11e7547afc4c 100644 --- a/pkgs/development/tools/misc/go-license-detector/default.nix +++ b/pkgs/development/tools/misc/go-license-detector/default.nix @@ -1,23 +1,23 @@ -{ lib, buildGoModule, fetchFromGitHub }: +{ lib, buildGoModule, fetchFromGitHub, git }: buildGoModule rec { pname = "go-license-detector"; - version = "3.1.0"; + version = "4.3.0"; src = fetchFromGitHub { - owner = "src-d"; + owner = "go-enry"; repo = pname; rev = "v${version}"; - sha256 = "0ln1z3y9q5igf9djkxw05ql2hb1ijcvvz0mrbwz11cdv9xrsa4z4"; + sha256 = "sha256-MubQpxpUCPDBVsEz4NmY8MFEoECXQtzAaZJ89vv5bDc="; }; - vendorSha256 = "0gan5l7vsq0hixxcymhhs8p07v92w60r0lhgvrr9a99nic12vmia"; + vendorSha256 = "sha256-a9yCnGg+4f+UoHbGG8a47z2duBD3qXcAzPKnE4PQsvM="; - doCheck = false; + checkInputs = [ git ]; meta = with lib; { description = "Reliable project licenses detector"; - homepage = "https://github.com/src-d/go-license-detector"; + homepage = "https://github.com/go-enry/go-license-detector"; license = licenses.asl20; maintainers = with maintainers; [ dtzWill ]; mainProgram = "license-detector";