about summary refs log tree commit diff
path: root/pkgs/tools/misc/esptool
diff options
context:
space:
mode:
authorRobert Schütz <robert.schuetz@stud.uni-heidelberg.de>2017-09-18 02:30:13 +0200
committerTuomas Tynkkynen <tuomas.tynkkynen@iki.fi>2017-09-19 00:22:29 +0300
commit7f89abd8201385c9b01db1cd708fb7f1b897b2e7 (patch)
tree300e2ffbd02dc0ecde6c7d579f2da3a2cae662c2 /pkgs/tools/misc/esptool
parent7fa2c54a60902ee924a3b540cad0d5ed4894c418 (diff)
esptool: 1.3 -> 2.1
Diffstat (limited to 'pkgs/tools/misc/esptool')
-rw-r--r--pkgs/tools/misc/esptool/default.nix11
1 files changed, 5 insertions, 6 deletions
diff --git a/pkgs/tools/misc/esptool/default.nix b/pkgs/tools/misc/esptool/default.nix
index 04ba5788cd918..427ddea2f36ee 100644
--- a/pkgs/tools/misc/esptool/default.nix
+++ b/pkgs/tools/misc/esptool/default.nix
@@ -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";