1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 pyserial,
6 pythonOlder,
7}:
8
9buildPythonPackage rec {
10 pname = "pymata-express";
11 version = "1.21";
12 format = "setuptools";
13 disabled = pythonOlder "3.7";
14
15 src = fetchFromGitHub {
16 owner = "MrYsLab";
17 repo = "pymata-express";
18 rev = version;
19 sha256 = "1mibyn84kjahrv3kn51yl5mhkyig4piv6wanggzjflh5nm96bhy8";
20 };
21
22 propagatedBuildInputs = [ pyserial ];
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}