diff options
author | Tuomas Tynkkynen <tuomas@tuxera.com> | 2017-05-24 02:44:38 +0300 |
---|---|---|
committer | Tuomas Tynkkynen <tuomas@tuxera.com> | 2017-05-24 02:47:46 +0300 |
commit | e6cb889faa1dead8e4320a294e53ea3000c4fd84 (patch) | |
tree | ae980ddd01f6380eb00b93c81cc4107fdbdb19f8 /pkgs/tools/misc/esptool | |
parent | ff15d0c41ed5ac0c8b987adff6724f91a88bc40c (diff) |
esptool: init at 1.4
Diffstat (limited to 'pkgs/tools/misc/esptool')
-rw-r--r-- | pkgs/tools/misc/esptool/default.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/tools/misc/esptool/default.nix b/pkgs/tools/misc/esptool/default.nix new file mode 100644 index 0000000000000..04ba5788cd918 --- /dev/null +++ b/pkgs/tools/misc/esptool/default.nix @@ -0,0 +1,25 @@ +{ stdenv, fetchFromGitHub, python3 }: + +python3.pkgs.buildPythonApplication rec { + name = "esptool-${version}"; + version = "1.3"; + + src = fetchFromGitHub { + owner = "espressif"; + repo = "esptool"; + rev = "v${version}"; + sha256 = "0112fybkz4259gyvhcs18wa6938jp6w7clk66kpd0d1dg70lz1h6"; + }; + + propagatedBuildInputs = with python3.pkgs; [ pyserial ]; + + doCheck = false; # FIXME: requires packaging some new deps + + meta = with stdenv.lib; { + description = "ESP8266 and ESP32 serial bootloader utility"; + homepage = https://github.com/espressif/esptool; + license = licenses.gpl2; + maintainers = [ maintainers.dezgeg ]; + platforms = platforms.linux; + }; +} |