mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 06:39:14 +00:00
packages/ai_blocklist: init
This commit is contained in:
parent
adf81cc4bd
commit
12ccc6c619
1 changed files with 23 additions and 0 deletions
23
nix/packages/by-name/ai_blocklist/package.nix
Normal file
23
nix/packages/by-name/ai_blocklist/package.nix
Normal file
|
|
@ -0,0 +1,23 @@
|
||||||
|
{
|
||||||
|
fetchFromGitHub,
|
||||||
|
stdenvNoCC,
|
||||||
|
lib,
|
||||||
|
}: let
|
||||||
|
rev = "9bb188e2701138e03f73bacebd6b19b181ca0012";
|
||||||
|
in
|
||||||
|
stdenvNoCC.mkDerivation {
|
||||||
|
pname = "ai_blocklist";
|
||||||
|
version = "unstable-" + lib.substring 0 8 rev;
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "laylavish";
|
||||||
|
repo = "uBlockOrigin-HUGE-AI-Blocklist";
|
||||||
|
inherit rev;
|
||||||
|
hash = "sha256-p3wfR28DH6V8BHn9DT10d09Yq3mdbBecWwlR1CdDYUA=";
|
||||||
|
};
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
cp noai_hosts.txt $out
|
||||||
|
sed -i 's/^0.0.0.0 //' $out
|
||||||
|
'';
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue