.files/nix/packages/by-name/hategroup_blocklist/package.nix

22 lines
459 B
Nix

{
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
'';
}