Add shell.nix, requirements

This commit is contained in:
Kirill Sobakin
2025-12-25 00:58:47 +03:00
parent 409892ad5e
commit 942e30088c
2 changed files with 16 additions and 0 deletions

1
requirements.txt Normal file
View File

@@ -0,0 +1 @@
tldextract

15
shell.nix Normal file
View File

@@ -0,0 +1,15 @@
{ pkgs ? import <nixpkgs> {} }:
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')"
'';
}