1{
2 lib,
3 python3Packages,
4 fetchFromGitHub,
5}:
6
7python3Packages.buildPythonPackage {
8 pname = "mpfshell-unstable";
9 version = "2020-04-11";
10 pyproject = true;
11
12 src = fetchFromGitHub {
13 owner = "wendlers";
14 repo = "mpfshell";
15 rev = "429469fcccbda770fddf7a4277f5db92b1217664";
16 sha256 = "0md6ih9vp65dacqy8gki3b2p4v76xb9ijqmxymk4b4f9z684x2m7";
17 };
18
19 build-system = with python3Packages; [ setuptools ];
20
21 dependencies = with python3Packages; [
22 pyserial
23 colorama
24 websocket-client
25 standard-telnetlib # Python no longer provides telnetlib since python313
26 ];
27
28 doCheck = false;
29 pythonImportsCheck = [ "mp.mpfshell" ];
30
31 meta = with lib; {
32 homepage = "https://github.com/wendlers/mpfshell";
33 description = "Simple shell based file explorer for ESP8266 Micropython based devices";
34 mainProgram = "mpfshell";
35 license = licenses.mit;
36 };
37}