Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, python3Packages, fetchFromGitHub }: 2 3python3Packages.buildPythonPackage rec { 4 pname = "mpfshell-unstable"; 5 version = "2020-04-11"; 6 7 src = fetchFromGitHub { 8 owner = "wendlers"; 9 repo = "mpfshell"; 10 rev = "429469fcccbda770fddf7a4277f5db92b1217664"; 11 sha256 = "0md6ih9vp65dacqy8gki3b2p4v76xb9ijqmxymk4b4f9z684x2m7"; 12 }; 13 14 propagatedBuildInputs = with python3Packages; [ 15 pyserial colorama websocket-client 16 ]; 17 18 doCheck = false; 19 pythonImportsCheck = [ "mp.mpfshell" ]; 20 21 meta = with lib; { 22 homepage = "https://github.com/wendlers/mpfshell"; 23 description = "A simple shell based file explorer for ESP8266 Micropython based devices"; 24 license = licenses.mit; 25 }; 26}