about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/tools/mpfshell/default.nix
blob: e8a2a9b89217cbdd348c9e277490fdd1cfa60763 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ lib, python3Packages, fetchFromGitHub }:

python3Packages.buildPythonPackage rec {
  pname = "mpfshell-unstable";
  version = "2020-04-11";

  src = fetchFromGitHub {
    owner = "wendlers";
    repo = "mpfshell";
    rev = "429469fcccbda770fddf7a4277f5db92b1217664";
    sha256 = "0md6ih9vp65dacqy8gki3b2p4v76xb9ijqmxymk4b4f9z684x2m7";
  };

  propagatedBuildInputs = with python3Packages; [
    pyserial colorama websocket-client
  ];

  doCheck = false;
  pythonImportsCheck = [ "mp.mpfshell" ];

  meta = with lib; {
    homepage = "https://github.com/wendlers/mpfshell";
    description = "A simple shell based file explorer for ESP8266 Micropython based devices";
    license = licenses.mit;
  };
}