17 lines
259 B
Nix
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
|
||
|
];
|
||
|
}
|