depot/third_party/nixpkgs/pkgs/development/tools/license-scanner/default.nix
Default email 87f9c27ba9 Project import generated by Copybara.
GitOrigin-RevId: fe2ecaf706a5907b5e54d979fbde4924d84b65fc
2023-04-12 14:48:02 +02:00

26 lines
729 B
Nix

{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "license-scanner";
version = "0.10.0";
src = fetchFromGitHub {
owner = "CycloneDX";
repo = "license-scanner";
rev = "refs/tags/v${version}";
hash = "sha256-X7omSecbb85dtxPJtgdjLLgJQRJ7dh12DGwzIG0tYcE=";
};
vendorHash = "sha256-7xa2tdCDCXkOZCLL8YPtO7i1VqD61Mow7un0690I8mM=";
meta = with lib; {
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/${version}/CHANGELOG.md";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
};
}