A few neat tricks around setting up the default.nix for your project, not just for building the project or getting the dependencies for nix-shell, but also doing further customization of the nix-shell environment.
http://datakurre.pandala.org/2015/10/nix-for-python-developers.html
http://datakurre.pandala.org/2015/10/nix-for-python-developers.html