masterthesis/codes/plot/shell.nix
2022-04-01 12:41:55 +02:00

16 lines
249 B
Nix

{ pkgs ? import <nixpkgs> {} }:
let
py-packages = python-packages: with python-packages; [
matplotlib
numpy
networkx
];
py-package = pkgs.python3.withPackages py-packages;
in
pkgs.mkShell {
buildInputs = [
py-package
];
}