add shell.nix

This commit is contained in:
gnat 2024-08-09 18:44:51 -07:00
parent e39b59853f
commit a77e8f1f73

16
shell.nix Normal file
View File

@ -0,0 +1,16 @@
{ pkgs ? import <nixpkgs> {} }:
pkgs.mkShell {
buildInputs = [
pkgs.python312
pkgs.python312Packages.networkx
pkgs.python312Packages.matplotlib
pkgs.python312Packages.requests
pkgs.python312Packages.bleach
pkgs.python312Packages.beautifulsoup4
pkgs.python312Packages.pygraphviz
];
shellHook = ''
python main.py
'';
}