diff --git a/pkgs/by-name/go/go-licence-detector/package.nix b/pkgs/by-name/go/go-licence-detector/package.nix new file mode 100644 index 000000000000..dd08b14598d4 --- /dev/null +++ b/pkgs/by-name/go/go-licence-detector/package.nix @@ -0,0 +1,26 @@ +{ + lib, + buildGoModule, + fetchFromGitHub, +}: + +buildGoModule rec { + pname = "go-licence-detector"; + version = "0.7.0"; + + src = fetchFromGitHub { + owner = "elastic"; + repo = "go-licence-detector"; + rev = "v${version}"; + hash = "sha256-43MyzEF7BZ7pcgzDvXx9SjXGHaLozmWkGWUO/yf6K98="; + }; + + vendorHash = "sha256-7vIP5pGFH6CbW/cJp+DiRg2jFcLFEBl8dQzUw1ogTTA="; + + meta = with lib; { + description = "Detect licences in Go projects and generate documentation"; + homepage = "https://github.com/elastic/go-licence-detector"; + license = licenses.asl20; + maintainers = with maintainers; [ SuperSandro2000 ]; + }; +}