Created
August 18, 2019 20:19
-
-
Save fbmnds/f4058ad8612eaaf468f788ec0f70870d to your computer and use it in GitHub Desktop.
ESP8266_RTOS_SDK
This file contains hidden or 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
| { nixpkgs ? import <nixpkgs> {} }: | |
| let | |
| inherit (nixpkgs) pkgs; | |
| in | |
| pkgs.stdenv.mkDerivation { | |
| name = "esp8266-env"; | |
| buildInputs = with pkgs; [ | |
| gawk gperf gettext automake bison flex texinfo help2man libtool autoconf ncurses5 cmake | |
| (python37.withPackages (ppkgs: with ppkgs; [ pyserial future cryptography click pyelftools ])) | |
| (pkgs.callPackage ~/esp/esp8266-toolchain.nix {}) | |
| ]; | |
| shellHook = '' | |
| export NIX_CFLAGS_LINK=-lncurses | |
| export IDF_PATH=$HOME/esp/ESP8266_RTOS_SDK | |
| ''; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment