16 lines
249 B
Nix
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
|
|
];
|
|
}
|