2018-03-07 01:52:40 +01:00
|
|
|
{ lib, pkgs, pythonPackages, ... }:
|
2016-02-22 14:19:49 +01:00
|
|
|
|
|
|
|
with pythonPackages; buildPythonPackage rec {
|
|
|
|
name = "nodemcu-uploader-${version}";
|
2018-03-07 01:52:40 +01:00
|
|
|
version = "0.4.1";
|
2016-02-22 14:19:49 +01:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
pyserial
|
2018-03-07 01:52:40 +01:00
|
|
|
wrapt
|
2016-02-22 14:19:49 +01:00
|
|
|
];
|
2018-03-07 01:52:40 +01:00
|
|
|
|
|
|
|
src = pkgs.fetchFromGitHub {
|
|
|
|
owner = "kmpm";
|
|
|
|
repo = "nodemcu-uploader";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "055pvlg544vb97kaqnnq51fs9f9g75vwgbazc293f3g1sk263gmn";
|
2016-02-22 14:19:49 +01:00
|
|
|
};
|
2018-03-07 01:52:40 +01:00
|
|
|
|
2016-02-22 14:19:49 +01:00
|
|
|
doCheck = false;
|
2018-03-07 01:52:40 +01:00
|
|
|
|
2016-02-22 14:19:49 +01:00
|
|
|
meta = {
|
|
|
|
homepage = https://github.com/kmpm/nodemcu-uploader;
|
|
|
|
description = "tool for uploading files to NodeMCU filesystem";
|
|
|
|
license = lib.licenses.mit;
|
|
|
|
};
|
|
|
|
}
|