packages/hategroup_blocklist: init

This commit is contained in:
Primrose 2025-10-31 12:08:50 +08:00
parent 12ccc6c619
commit 3eb030b8f4
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA

View file

@ -0,0 +1,22 @@
{
fetchFromGitHub,
stdenvNoCC,
lib,
}: let
rev = "cc19c050997d5f54014bb20c764b131e003dfb17";
in
stdenvNoCC.mkDerivation {
pname = "hategroup_blocklist";
version = "unstable-" + lib.substring 0 8 rev;
src = fetchFromGitHub {
owner = "chigh";
repo = "hategroup-dnsbl";
inherit rev;
hash = "sha256-SZBrjIBUw687MdrbOV7WrP5IhAAtKvPL2GqdcICHNvQ=";
};
installPhase = ''
cp blocklist.txt $out
'';
}