From a77e8f1f7398a9092da68666a03f54c7463cad6c Mon Sep 17 00:00:00 2001 From: gnat Date: Fri, 9 Aug 2024 18:44:51 -0700 Subject: [PATCH] add shell.nix --- shell.nix | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 shell.nix diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..cd5e00d --- /dev/null +++ b/shell.nix @@ -0,0 +1,16 @@ +{ pkgs ? import {} }: + +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 + ''; +}