nixpkgs/pkgs/development/tools/mpfshell/default.nix

27 lines
707 B
Nix
Raw Normal View History

2017-08-22 02:38:46 +01:00
{ lib, python3Packages, fetchFromGitHub }:
python3Packages.buildPythonPackage rec {
2020-07-07 00:35:12 +01:00
pname = "mpfshell-unstable";
version = "2020-04-11";
2017-08-22 02:38:46 +01:00
src = fetchFromGitHub {
owner = "wendlers";
repo = "mpfshell";
2020-07-07 00:35:12 +01:00
rev = "429469fcccbda770fddf7a4277f5db92b1217664";
sha256 = "0md6ih9vp65dacqy8gki3b2p4v76xb9ijqmxymk4b4f9z684x2m7";
2017-08-22 02:38:46 +01:00
};
propagatedBuildInputs = with python3Packages; [
pyserial colorama websocket_client
];
2020-07-07 00:35:12 +01:00
doCheck = false;
pythonImportsCheck = [ "mp.mpfshell" ];
2017-08-22 02:38:46 +01:00
meta = with lib; {
homepage = "https://github.com/wendlers/mpfshell";
2017-08-22 02:38:46 +01:00
description = "A simple shell based file explorer for ESP8266 Micropython based devices";
license = licenses.mit;
};
}