3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/misc/esptool/default.nix
2018-07-18 01:16:57 +02:00

25 lines
747 B
Nix

{ stdenv, fetchFromGitHub, python3, openssl }:
python3.pkgs.buildPythonApplication rec {
pname = "esptool";
version = "2.5.0";
src = fetchFromGitHub {
owner = "espressif";
repo = "esptool";
rev = "v${version}";
sha256 = "0cvxapcln1xcz8hy0hidw6g8q61s5j3q03j3wrviagbh0zip8jdx";
};
checkInputs = with python3.pkgs; [ flake8 flake8-future-import flake8-import-order ];
propagatedBuildInputs = with python3.pkgs; [ pyserial pyaes ecdsa openssl ];
meta = with stdenv.lib; {
description = "ESP8266 and ESP32 serial bootloader utility";
homepage = https://github.com/espressif/esptool;
license = licenses.gpl2;
maintainers = with maintainers; [ dezgeg dotlambda ];
platforms = platforms.linux;
};
}