Merge pull request #224651 from fabaff/license-scanner
license-scanner: init at 0.10.0
This commit is contained in:
commit
349001f91b
2 changed files with 28 additions and 0 deletions
26
pkgs/development/tools/license-scanner/default.nix
Normal file
26
pkgs/development/tools/license-scanner/default.nix
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
{ 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 ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -17978,6 +17978,8 @@ with pkgs;
|
||||||
|
|
||||||
license_finder = callPackage ../development/tools/license_finder { };
|
license_finder = callPackage ../development/tools/license_finder { };
|
||||||
|
|
||||||
|
license-scanner = callPackage ../development/tools/license-scanner { };
|
||||||
|
|
||||||
Literate = callPackage ../development/tools/literate-programming/Literate { };
|
Literate = callPackage ../development/tools/literate-programming/Literate { };
|
||||||
|
|
||||||
md-tangle = callPackage ../development/tools/literate-programming/md-tangle { };
|
md-tangle = callPackage ../development/tools/literate-programming/md-tangle { };
|
||||||
|
|
Loading…
Reference in a new issue