diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..4fbadd2 --- /dev/null +++ b/requirements.txt @@ -0,0 +1 @@ +tldextract diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..da932e3 --- /dev/null +++ b/shell.nix @@ -0,0 +1,15 @@ +{ pkgs ? import {} }: + +pkgs.mkShell { + buildInputs = with pkgs; [ + python312 + python312Packages.tldextract + sing-box + ]; + + shellHook = '' + echo "Environment ready!" + echo "Python version: $(python --version)" + echo "sing-box version: $(sing-box version 2>/dev/null || echo 'not available')" + ''; +}