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