2022-01-04 22:11:37 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonApplication
|
|
|
|
, fetchPypi
|
|
|
|
, pyserial
|
|
|
|
, pyudev
|
|
|
|
, pythonOlder
|
|
|
|
}:
|
2018-07-20 08:30:11 +01:00
|
|
|
|
|
|
|
buildPythonApplication rec {
|
|
|
|
pname = "rshell";
|
2021-12-31 21:46:59 +00:00
|
|
|
version = "0.0.31";
|
2018-07-20 08:30:11 +01:00
|
|
|
|
2022-01-04 22:11:37 +00:00
|
|
|
disabled = pythonOlder "3.4";
|
|
|
|
|
2018-07-20 08:30:11 +01:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-12-31 21:46:59 +00:00
|
|
|
sha256 = "7942b758a9ae5c6ff46516b0317f437dfce9f0721f3a3b635ebd501c9cd38fb9";
|
2018-07-20 08:30:11 +01:00
|
|
|
};
|
|
|
|
|
2022-01-04 22:11:37 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
pyserial
|
|
|
|
pyudev
|
|
|
|
];
|
2018-07-20 08:30:11 +01:00
|
|
|
|
|
|
|
meta = with lib; {
|
2020-03-31 06:03:04 +01:00
|
|
|
homepage = "https://github.com/dhylands/rshell";
|
2018-07-20 08:30:11 +01:00
|
|
|
description = "Remote Shell for MicroPython";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ c0deaddict ];
|
|
|
|
};
|
|
|
|
}
|