-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathshell.nix
More file actions
37 lines (34 loc) · 963 Bytes
/
shell.nix
File metadata and controls
37 lines (34 loc) · 963 Bytes
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
34
35
36
37
{ pkgs ? import <nixpkgs> {} }:
pkgs.mkShell {
buildInputs = with pkgs; [
# Python with required packages
(python312.withPackages (ps: with ps; [
gspread
google-auth-oauthlib
requests
websocket-client # For WebSocket exploration
]))
# Utilities
sqlite # For cookie extraction
];
shellHook = ''
echo "NCL Sheet Sync"
echo "=============="
echo ""
echo "Python version: $(python --version)"
echo ""
echo "Available packages:"
echo " - gspread (Google Sheets API)"
echo " - google-auth-oauthlib (OAuth2 authentication)"
echo " - requests (HTTP client)"
echo ""
echo "Quick start:"
echo " 1. cp config.example.py config.py"
echo " 2. Edit config.py with your values"
echo " 3. ./utils/setup_google_auth.py (if needed)"
echo " 4. ./update_sheet.py osint --test --yes"
echo ""
echo "For help: ./update_sheet.py --help"
echo ""
'';
}