2020-03-27 00:33:21 -07:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2020-02-12 18:35:11 -08:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "go-license-detector";
|
2020-03-03 20:29:32 -08:00
|
|
|
version = "3.1.0";
|
2020-02-12 18:35:11 -08:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "src-d";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2020-03-03 20:29:32 -08:00
|
|
|
sha256 = "0ln1z3y9q5igf9djkxw05ql2hb1ijcvvz0mrbwz11cdv9xrsa4z4";
|
2020-02-12 18:35:11 -08:00
|
|
|
};
|
|
|
|
|
2020-04-30 18:59:00 -07:00
|
|
|
vendorSha256 = "0gan5l7vsq0hixxcymhhs8p07v92w60r0lhgvrr9a99nic12vmia";
|
2020-02-12 18:35:11 -08:00
|
|
|
|
2020-03-27 00:33:21 -07:00
|
|
|
meta = with lib; {
|
2020-02-12 18:35:11 -08:00
|
|
|
description = "Reliable project licenses detector";
|
|
|
|
homepage = "https://github.com/src-d/go-license-detector";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ dtzWill ];
|
|
|
|
};
|
2020-04-30 18:59:00 -07:00
|
|
|
}
|