ma 5 nodemcu-uploader: init
This commit is contained in:
parent
ad8ba59b96
commit
8733c0370e
22
5pkgs/nodemcu-uploader/default.nix
Normal file
22
5pkgs/nodemcu-uploader/default.nix
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
{ lib, pkgs, pythonPackages, fetchurl, ... }:
|
||||||
|
|
||||||
|
with pythonPackages; buildPythonPackage rec {
|
||||||
|
name = "nodemcu-uploader-${version}";
|
||||||
|
version = "0.2.2";
|
||||||
|
disabled = isPy3k || isPyPy;
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
pyserial
|
||||||
|
];
|
||||||
|
src = fetchurl {
|
||||||
|
url = "https://pypi.python.org/packages/source/n/nodemcu-uploader/nodemcu-uploader-${version}.tar.gz";
|
||||||
|
sha256 = "090giz84y9y3idgifp0yh80qqyv2czv6h3y55wyrlgf7qfbwbrvn";
|
||||||
|
};
|
||||||
|
# ImportError: No module named tests
|
||||||
|
# not sure what to do here
|
||||||
|
doCheck = false;
|
||||||
|
meta = {
|
||||||
|
homepage = https://github.com/kmpm/nodemcu-uploader;
|
||||||
|
description = "tool for uploading files to NodeMCU filesystem";
|
||||||
|
license = lib.licenses.mit;
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue