11 stdenv.mkDerivation rec {
15 src = fetchFromGitHub {
19 hash = "sha256-cYLpK5zUOzgbcBVrJT/N6Y9kMpg6KD1EthrstoF4sF8=";
22 buildInputs = [ coreutils curl gnugrep gawk ];
23 nativeBuildInputs = [ makeWrapper ];
29 wrapProgram "$out/bin/hblock" \
30 --prefix PATH : ${lib.makeBinPath [ coreutils curl gnugrep gawk ]}
34 description = "Improve your security and privacy by blocking ads, tracking and malware domains";
35 mainProgram = "hblock";
36 homepage = "https://github.com/hectorm/hblock";
37 license = licenses.mit;
38 maintainers = with maintainers; [ alanpearce ];
39 platforms = platforms.unix;