2022-04-05 10:23:45 +02:00
|
|
|
{ pkgs ? import <nixpkgs> {} }:
|
|
|
|
let
|
|
|
|
py-packages = python-packages: with python-packages; [
|
|
|
|
matplotlib
|
|
|
|
numpy
|
|
|
|
networkx
|
2022-04-21 23:05:11 +02:00
|
|
|
scipy
|
2022-04-05 10:23:45 +02:00
|
|
|
];
|
|
|
|
py-package = pkgs.python3.withPackages py-packages;
|
|
|
|
in
|
|
|
|
|
|
|
|
pkgs.mkShell {
|
|
|
|
buildInputs = [
|
|
|
|
py-package
|
|
|
|
];
|
|
|
|
}
|