From 942e30088c9e76a74cd7eb519cb78a73580bb5ab Mon Sep 17 00:00:00 2001 From: Kirill Sobakin Date: Thu, 25 Dec 2025 00:58:47 +0300 Subject: [PATCH] Add shell.nix, requirements --- requirements.txt | 1 + shell.nix | 15 +++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 requirements.txt create mode 100644 shell.nix 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')" + ''; +}