My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/tools/misc/go-license-detector/default.nix

25 lines
653 B

{ lib, buildGoModule, fetchFromGitHub, git }:
buildGoModule rec {
pname = "go-license-detector";
version = "4.3.0";
src = fetchFromGitHub {
owner = "go-enry";
repo = pname;
rev = "v${version}";
sha256 = "sha256-MubQpxpUCPDBVsEz4NmY8MFEoECXQtzAaZJ89vv5bDc=";
};
vendorSha256 = "sha256-a9yCnGg+4f+UoHbGG8a47z2duBD3qXcAzPKnE4PQsvM=";
checkInputs = [ git ];
meta = with lib; {
description = "Reliable project licenses detector";
homepage = "https://github.com/go-enry/go-license-detector";
license = licenses.asl20;
maintainers = with maintainers; [ dtzWill ];
mainProgram = "license-detector";
};
}