Skip to content

Commit 94cddaa

Browse files
hosts-bl: init at 0-unstable-2024-11-17 (#245669)
2 parents 80c84a4 + bd7a4f1 commit 94cddaa

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
lib,
3+
buildGoModule,
4+
fetchFromGitHub,
5+
}:
6+
7+
buildGoModule rec {
8+
pname = "hosts-bl";
9+
version = "0-unstable-2024-11-17";
10+
11+
src = fetchFromGitHub {
12+
owner = "ScriptTiger";
13+
repo = "Hosts-BL";
14+
rev = "b3ac0a50fce8e714e754a17e6a11f8709386782c";
15+
sha256 = "sha256-w+4dEWwFMjBbeJPOqMrzLBBzPYh/V5SfV2BMrI0p3nw=";
16+
};
17+
18+
postPatch = ''
19+
go mod init github.com/ScriptTiger/Hosts-BL
20+
'';
21+
22+
vendorHash = null;
23+
24+
meta = {
25+
homepage = "https://github.com/ScriptTiger/Hosts-BL";
26+
description = "Simple tool to handle hosts file black lists";
27+
mainProgram = "Hosts-BL";
28+
maintainers = [ lib.maintainers.puffnfresh ];
29+
platforms = lib.platforms.unix;
30+
license = lib.licenses.mit;
31+
};
32+
}

0 commit comments

Comments
 (0)