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

29 lines
759 B
Nix
Raw Permalink Normal View History

2023-04-04 15:15:36 +02:00
{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule rec {
pname = "license-scanner";
2025-06-03 01:42:09 +00:00
version = "0.12.0";
2023-04-04 15:15:36 +02:00
src = fetchFromGitHub {
owner = "CycloneDX";
repo = "license-scanner";
tag = "v${version}";
2025-06-03 01:42:09 +00:00
hash = "sha256-XnJ0GrME8v3d/sYwOffGX6S0u9toJxmFf9XCqA7jxZ4=";
2023-04-04 15:15:36 +02:00
};
2025-06-03 01:42:09 +00:00
vendorHash = "sha256-JVbwGTYNTFana9jE42h6nhDyyoVlROcK7RLRC7S74eA=";
2023-04-04 15:15:36 +02:00
2025-06-03 16:15:50 +02:00
meta = {
2023-04-04 15:15:36 +02:00
description = "Utility that provides an API and CLI to identify licenses and legal terms";
homepage = "https://github.com/CycloneDX/license-scanner";
changelog = "https://github.com/CycloneDX/license-scanner/blob/${src.tag}/CHANGELOG.md";
2025-06-03 16:15:50 +02:00
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ fab ];
mainProgram = "license-scanner";
2023-04-04 15:15:36 +02:00
};
}