masterthesis/codes/partition/shell.nix

16 lines
249 B
Nix
Raw Permalink Normal View History

2022-04-15 17:21:44 +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
];
}