Created
April 5, 2019 10:08
-
-
Save mredaelli/84aefc0c69e4bceb6e73de76f2137d0c 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 | |
pkgs = import <nixpkgs> {}; | |
in | |
with pkgs; | |
let | |
mypython = pkgs.python36; | |
ppkgs = mypython.pkgs; | |
cfscrape = with ppkgs; callPackage ~/src/nixpkgs/cfscrape {}; | |
dateparser = with ppkgs; callPackage ~/src/nixpkgs/dateparser {}; | |
langdetect = with ppkgs; callPackage ~/src/nixpkgs/langdetect {}; | |
pdftotext = with ppkgs; callPackage ~/src/nixpkgs/pdftotext {}; | |
sqlitedict = with ppkgs; callPackage ~/src/nixpkgs/sqlitedict {}; | |
requests-aws4auth = with ppkgs; callPackage ~/src/nixpkgs/requests-aws4auth {}; | |
scrapinghub = with ppkgs; callPackage ~/src/nixpkgs/scrapinghub {}; | |
scrapy-crawlera = with ppkgs; callPackage ~/src/nixpkgs/scrapy-crawlera {}; | |
docker-py = with ppkgs; callPackage ~/src/nixpkgs/docker-py { }; | |
shub = with ppkgs; callPackage ~/src/nixpkgs/shub { inherit docker-py scrapinghub; }; | |
my-packages = python-packages: with python-packages; | |
[ | |
virtualenvwrapper | |
cffi | |
boto3 | |
beautifulsoup4 | |
cfscrape | |
dateparser | |
elasticsearch | |
jinja2 | |
langdetect | |
moto | |
msgpack-python | |
pdftotext | |
requests-aws4auth | |
scrapy-crawlera | |
scrapy | |
shub | |
sqlitedict | |
voluptuous | |
click | |
]; | |
in ((mypython.withPackages (my-packages)).override (args: { ignoreCollisions = true; })).env | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment