33afbf39f6
checkInputs used to be added to nativeBuildInputs. Now we have nativeCheckInputs to do that instead. Doing this treewide change allows to keep hashes identical to before the introduction of nativeCheckInputs.
25 lines
659 B
Nix
25 lines
659 B
Nix
{ 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=";
|
|
|
|
nativeCheckInputs = [ 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";
|
|
};
|
|
}
|