esptool: 1.3 -> 2.1

This commit is contained in:
Robert Schütz 2017-09-18 02:30:13 +02:00 committed by Tuomas Tynkkynen
parent 7fa2c54a60
commit 7f89abd820

View file

@ -1,19 +1,18 @@
{ stdenv, fetchFromGitHub, python3 }:
{ stdenv, fetchFromGitHub, python3, openssl }:
python3.pkgs.buildPythonApplication rec {
name = "esptool-${version}";
version = "1.3";
version = "2.1";
src = fetchFromGitHub {
owner = "espressif";
repo = "esptool";
rev = "v${version}";
sha256 = "0112fybkz4259gyvhcs18wa6938jp6w7clk66kpd0d1dg70lz1h6";
sha256 = "137p0kcscly95qpjzgx1yxm8k2wf5y9v3srvlhp2ajniirgv8ijv";
};
propagatedBuildInputs = with python3.pkgs; [ pyserial ];
doCheck = false; # FIXME: requires packaging some new deps
buildInputs = with python3.pkgs; [ flake8 ];
propagatedBuildInputs = with python3.pkgs; [ pyserial pyaes ecdsa openssl ];
meta = with stdenv.lib; {
description = "ESP8266 and ESP32 serial bootloader utility";