2022-04-25 13:00:43 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub, git }:
|
2020-02-13 02:35:11 +00:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "go-license-detector";
|
2023-07-08 02:24:19 +00:00
|
|
|
version = "4.3.1";
|
2020-02-13 02:35:11 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2022-04-25 13:00:43 +00:00
|
|
|
owner = "go-enry";
|
2020-02-13 02:35:11 +00:00
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2023-07-08 02:24:19 +00:00
|
|
|
hash = "sha256-S9LKXjn5dL5FETOOAk+bs7bIVdu2x7MIhfjpZuXzuLo=";
|
2020-02-13 02:35:11 +00:00
|
|
|
};
|
|
|
|
|
2023-07-08 02:24:19 +00:00
|
|
|
vendorHash = "sha256-MtQsUsFd9zQGbP7NGZ4zcSoa6O2WSWvGig0GUwCc6uM=";
|
2020-02-13 02:35:11 +00:00
|
|
|
|
2023-01-21 12:00:00 +00:00
|
|
|
nativeCheckInputs = [ git ];
|
2020-08-04 00:26:27 +00:00
|
|
|
|
2020-03-27 07:33:21 +00:00
|
|
|
meta = with lib; {
|
2020-02-13 02:35:11 +00:00
|
|
|
description = "Reliable project licenses detector";
|
2022-04-25 13:00:43 +00:00
|
|
|
homepage = "https://github.com/go-enry/go-license-detector";
|
2020-02-13 02:35:11 +00:00
|
|
|
license = licenses.asl20;
|
2024-07-28 14:44:11 +00:00
|
|
|
maintainers = [ ];
|
2022-04-01 19:34:55 +00:00
|
|
|
mainProgram = "license-detector";
|
2020-02-13 02:35:11 +00:00
|
|
|
};
|
2020-07-31 03:58:04 +00:00
|
|
|
}
|