nixpkgs/pkgs/tools/misc/esptool/default.nix

25 lines
745 B
Nix
Raw Normal View History

2017-09-18 03:30:13 +03:00
{ stdenv, fetchFromGitHub, python3, openssl }:
2017-05-24 02:44:38 +03:00
python3.pkgs.buildPythonApplication rec {
2018-07-18 02:16:57 +03:00
pname = "esptool";
version = "2.7";
2017-05-24 02:44:38 +03:00
src = fetchFromGitHub {
owner = "espressif";
repo = "esptool";
rev = "v${version}";
sha256 = "1p5hx0rhs986ffqz78rdxg7jayndsq632399xby39k17kvd3mb31";
2017-05-24 02:44:38 +03:00
};
2019-01-09 16:54:58 +03:00
checkInputs = with python3.pkgs; [ flake8 flake8-future-import flake8-import-order openssl ];
propagatedBuildInputs = with python3.pkgs; [ pyserial pyaes ecdsa ];
2017-05-24 02:44:38 +03:00
meta = with stdenv.lib; {
description = "ESP8266 and ESP32 serial bootloader utility";
homepage = https://github.com/espressif/esptool;
license = licenses.gpl2;
2018-03-01 14:18:14 +03:00
maintainers = with maintainers; [ dezgeg dotlambda ];
2017-05-24 02:44:38 +03:00
platforms = platforms.linux;
};
}