main
 1{
 2  lib,
 3  buildGoModule,
 4  fetchFromGitHub,
 5  nix-update-script,
 6}:
 7buildGoModule {
 8  pname = "realitlscanner";
 9  version = "0.2.3";
10
11  src = fetchFromGitHub {
12    owner = "XTLS";
13    repo = "RealiTLScanner";
14    tag = "v0.2.3";
15    hash = "sha256-JT09ucmKuGxHFZuImIC6CnHvAGT/fPTyuOH4GZguyGA=";
16  };
17
18  vendorHash = "sha256-qNAGWAWfin8KwlMwLdEFAzGuqkOYDHcHeTXp8hk3tfw=";
19
20  passthru.updateScript = nix-update-script {};
21
22  meta = {
23    description = "A TLS server certificate scanner for real IP discovery";
24    homepage = "https://github.com/XTLS/RealiTLScanner";
25    license = lib.licenses.mpl20;
26    platforms = lib.platforms.linux;
27    mainProgram = "RealiTLScanner";
28  };
29}