1{ lib
2, buildPythonPackage
3, fetchFromGitHub
4, pyserial
5, pythonOlder
6}:
7
8buildPythonPackage rec {
9 pname = "pymata-express";
10 version = "1.21";
11 disabled = pythonOlder "3.7";
12
13 src = fetchFromGitHub {
14 owner = "MrYsLab";
15 repo = pname;
16 rev = version;
17 sha256 = "1mibyn84kjahrv3kn51yl5mhkyig4piv6wanggzjflh5nm96bhy8";
18 };
19
20 propagatedBuildInputs = [
21 pyserial
22 ];
23
24 # Project has no tests
25 doCheck = false;
26
27 pythonImportsCheck = [ "pymata_express" ];
28
29 meta = with lib; {
30 description = "Python Asyncio Arduino Firmata Client";
31 longDescription = ''
32 Pymata-Express is a Python Firmata Protocol client. When used in conjunction
33 with an Arduino Firmata sketch, it permits you to control and monitor Arduino
34 hardware remotely over a serial link.
35 '';
36 homepage = "https://mryslab.github.io/pymata-express/";
37 license = with licenses; [ agpl3Plus ];
38 maintainers = with maintainers; [ fab ];
39 };
40}