about summary refs log tree commit diff
path: root/pkgs/development/embedded/rshell/default.nix
blob: 591331464e3ad65041cd1a0e3a9f2bf89182a594 (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
27
28
29
30
31
{ lib
, buildPythonApplication
, fetchPypi
, pyserial
, pyudev
, pythonOlder
}:

buildPythonApplication rec {
  pname = "rshell";
  version = "0.0.32";

  disabled = pythonOlder "3.4";

  src = fetchPypi {
    inherit pname version;
    sha256 = "sha256-frIwZ21JzVgxRS+KouBjDShHCP1lCoUwwySy2oFGcJ8=";
  };

  propagatedBuildInputs = [
    pyserial
    pyudev
  ];

  meta = with lib; {
    homepage = "https://github.com/dhylands/rshell";
    description = "Remote Shell for MicroPython";
    license = licenses.mit;
    maintainers = with maintainers; [ c0deaddict ];
  };
}