Skip to content

Instantly share code, notes, and snippets.

@mpickering
Created December 26, 2019 16:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mpickering/1e0f8e922a81b88dd79427f35d07ec16 to your computer and use it in GitHub Desktop.
Save mpickering/1e0f8e922a81b88dd79427f35d07ec16 to your computer and use it in GitHub Desktop.
let
np = import <nixpkgs> { };
ext = py-self: py-super: {
folium = py-super.folium.overridePythonAttrs ( oldAttrs : {
version = "0.10.0";
src = np.fetchFromGitHub { owner = "mpickering"
; repo = "folium"
; rev = "1bf7edb92f5800c2873869c7b208995435c0fcde"
; sha256 = "0cl07ygl3hzs2h2nb0cyjwc14y6i9dj63bi6v7ymf48bassifmdv";
};
}); };
new-py = np.python3.override { packageOverrides = ext; };
in
with np;
mkShell { buildInputs = [(new-py.withPackages (ps: with ps; [ ps.gdal ps.folium ]))]; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment