mirror of
https://github.com/itdoginfo/allow-domains.git
synced 2026-01-24 22:06:13 +03:00
Add shell.nix, requirements
This commit is contained in:
1
requirements.txt
Normal file
1
requirements.txt
Normal file
@@ -0,0 +1 @@
|
|||||||
|
tldextract
|
||||||
15
shell.nix
Normal file
15
shell.nix
Normal 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')"
|
||||||
|
'';
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user