blob: 5ecf8753ced0d153946fc1b8828d8083f9c04158 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
{
lib,
fetchFromCodeberg,
buildGoModule,
}:
buildGoModule (finalAttrs: {
pname = "captive-browser";
version = "0-unstable-2025-11-05";
src = fetchFromCodeberg {
owner = "pakus";
repo = "captive-browser";
rev = "ca6f74e132ecf298c87936d4c946fd551aefbbf7";
sha256 = "sha256-wojx28GFg9whfkNxUbOVDVNHp8M7SLsmRBTP/Jh8nLQ=";
};
vendorHash = "sha256-8FMFgCJUTalJ45GR5UnyXqN6s0gVFtiy6zjugbngDYQ=";
ldflags = [
"-s"
"-w"
"-X main.Version=${finalAttrs.version}"
];
meta = {
mainProgram = "captive-browser";
description = "Dedicated Chrome instance to log into captive portals without messing with DNS settings";
homepage = "https://blog.filippo.io/captive-browser";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ ma27 ];
};
})
|