nixpkgs/pkgs/by-name/go/go-license-detector/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
629 B
Nix
Raw Normal View History

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
nativeCheckInputs = [ git ];
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;
maintainers = [ ];
mainProgram = "license-detector";
2020-02-13 02:35:11 +00:00
};
}