git.iko.soy/typeable/nixpkgs
on master help sign in
blocky: init at 0.17
commit85b23d7198abddb978d093641e0033cc72b4e59a authorVictor Freire <victor@freire.dev.br> dateTue 25 Jan 2022, 00:40 (5 years ago) parentfa40cd3
2 files changed+34
pkgs/applications/networking/blocky/default.nix+30 pkgs/top-level/all-packages.nix+4
pkgs/applications/networking/blocky/default.nixnew file+30
@@ -0,0 +1,30 @@
1+{ buildGoModule
2+, fetchFromGitHub
3+, lib
4+}:
5+
6+buildGoModule rec {
7+ pname = "blocky";
8+ version = "0.17";
9+
10+ src = fetchFromGitHub {
11+ owner = "0xERR0R";
12+ repo = pname;
13+ rev = "v${version}";
14+ sha256 = "sha256-vG6QAI8gBI2nLRQ0nOFWQHihyzgmJu69rgkWlg3iW3E=";
15+ };
16+
17+ # needs network connection and fails at
18+ # https://github.com/0xERR0R/blocky/blob/development/resolver/upstream_resolver_test.go
19+ doCheck = false;
20+
21+ vendorSha256 = "sha256-+mpNPDejK9Trhw41SUXJPL/OX5wQR0QfA2+BXSlE0Jk=";
22+
23+ meta = with lib; {
24+ description = "Fast and lightweight DNS proxy as ad-blocker for local network with many features.";
25+ homepage = "https://0xerr0r.github.io/blocky";
26+ changelog = "https://github.com/0xERR0R/blocky/releases";
27+ license = licenses.asl20;
28+ maintainers = with maintainers; [ ratsclub ];
29+ };
30+}
pkgs/top-level/all-packages.nix+4
@@ -24443,6 +24443,10 @@ with pkgs;
2444324443
2444424444 bambootracker = libsForQt5.callPackage ../applications/audio/bambootracker { };
2444524445
24446+ blocky = callPackage ../applications/networking/blocky {
24447+ buildGoModule = buildGo117Module;
24448+ };
24449+
2444624450 cadence = libsForQt5.callPackage ../applications/audio/cadence { };
2444724451
2444824452 cheesecutter = callPackage ../applications/audio/cheesecutter { };