lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 23.11-beta 33 lines 999 B view raw
1{ lib, fetchFromGitHub, buildGoModule, fetchpatch }: 2 3buildGoModule rec { 4 pname = "captive-browser"; 5 version = "unstable-2021-08-01"; 6 7 src = fetchFromGitHub { 8 owner = "FiloSottile"; 9 repo = "captive-browser"; 10 rev = "9c707dc32afc6e4146e19b43a3406329c64b6f3c"; 11 sha256 = "sha256-65lPo5tpE0M/VyyvlzlcVSuHX4AhhVuqK0UF4BIAH/Y="; 12 }; 13 14 vendorHash = "sha256-2MFdQ2GIDAdLPuwAiGPO9wU3mm2BDXdyTwoVA1xVlcQ="; 15 deleteVendor = true; 16 17 patches = [ 18 # Add go modules support 19 (fetchpatch { 20 url = "https://github.com/FiloSottile/captive-browser/commit/ef50837778ef4eaf38b19887e79c8b6fa830c342.patch"; 21 hash = "sha256-w+jDFeO94pMu4ir+G5CzqYlXxYOm9+YfyzbU3sbTyiY="; 22 }) 23 ]; 24 25 ldflags = [ "-s" "-w" ]; 26 27 meta = with lib; { 28 description = "Dedicated Chrome instance to log into captive portals without messing with DNS settings"; 29 homepage = "https://blog.filippo.io/captive-browser"; 30 license = licenses.mit; 31 maintainers = with maintainers; [ ma27 ]; 32 }; 33}