mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 06:39:14 +00:00
packages/hategroup_blocklist: init
This commit is contained in:
parent
12ccc6c619
commit
3eb030b8f4
1 changed files with 22 additions and 0 deletions
22
nix/packages/by-name/hategroup_blocklist/package.nix
Normal file
22
nix/packages/by-name/hategroup_blocklist/package.nix
Normal 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
|
||||||
|
'';
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue