-
-
Save kalbasit/2b9984d8d5c53edd1048b574c8c8a4b2 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
{ lib, pythonPackages }: | |
let | |
pkgs = { | |
area = { version = "1.1.1"; }; | |
dask = { version = "1.2.2"; }; | |
geojson = { version = "2.4.1"; }; | |
geopy = { version = "1.19.0"; }; | |
h3 = { version = "3.4.2"; }; | |
pandas = { version = "0.24.2"; }; | |
psycopg2 = { version = "2.7.6.1"; }; | |
pyarrow = { version = "0.12.0"; }; | |
pytz = { version = "2018.9"; }; | |
pyyaml = { version = "5.1"; }; | |
s3fs = { version = "0.2.2"; }; | |
scikitlearn = { version = "0.20.3"; }; | |
simple-salesforce = { version = "0.74.2"; }; | |
snowflake-sqlalchemy = { version = "1.1.4"; }; | |
sqlalchemy = { version = "1.3.3"; }; | |
timezonefinder = { version = "4.0.2"; }; | |
}; | |
validateVersion = name: attrs: false; | |
validatedPkgs = lib.mapAttrs (n: v: assert (validateVersion n v); v) pkgs; | |
parsedPkgs = map (n: pythonPackages."${n}") (builtins.attrNames validatedPkgs); | |
in | |
parsedPkgs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment