Files

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

28 lines
634 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule rec {
pname = "entropy";
version = "1.0.7";
src = fetchFromGitHub {
owner = "EwenQuim";
repo = "entropy";
rev = "v${version}";
hash = "sha256-Wj+WSJ2dt4mE0yoMSYIQVNVklBxaTXwP2XND4+76VCI=";
};
vendorHash = "sha256-rELkSYwqfMFX++w6e7/7suzPaB91GhbqFsLaYCeeIm4=";
meta = {
description = "Tool to scan your codebase for high entropy lines, which are often secrets";
homepage = "https://github.com/EwenQuim/entropy";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ starsep ];
mainProgram = "entropy";
};
}