1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 05:31:22 +00:00
nixpkgs/pkgs/tools/misc/esptool/default.nix

25 lines
745 B
Nix
Raw Normal View History

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