$ cat shell.nix
with import <nixpkgs> {};
mkShell {
  buildInputs =
    [(python2.withPackages (ps: with ps; [
      numpy
      matplotlib
      tensorflow
      tensorflow-tensorboard
    ]))];
}