masterthesis/codes/plot/shell.nix

16 lines
249 B
Nix
Raw Permalink Normal View History

2022-04-01 12:41:55 +02:00
{ 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
];
}