mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 06:03:40 +00:00
a9b4927dce
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/esptool/versions
25 lines
745 B
Nix
25 lines
745 B
Nix
{ stdenv, fetchFromGitHub, python3, openssl }:
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
pname = "esptool";
|
|
version = "2.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "espressif";
|
|
repo = "esptool";
|
|
rev = "v${version}";
|
|
sha256 = "1p5hx0rhs986ffqz78rdxg7jayndsq632399xby39k17kvd3mb31";
|
|
};
|
|
|
|
checkInputs = with python3.pkgs; [ flake8 flake8-future-import flake8-import-order openssl ];
|
|
propagatedBuildInputs = with python3.pkgs; [ pyserial pyaes ecdsa ];
|
|
|
|
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;
|
|
};
|
|
}
|