Created
December 26, 2019 16:52
-
-
Save mpickering/1e0f8e922a81b88dd79427f35d07ec16 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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