masterthesis/codes/node-ranking/shell.nix
Valentin Brandl b5b78140aa Content
2022-04-21 23:05:11 +02:00

17 lines
259 B
Nix

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