depot/third_party/nixpkgs/pkgs/development/python-modules/pymata-express/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

40 lines
985 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
pyserial,
pythonOlder,
}:
buildPythonPackage rec {
pname = "pymata-express";
version = "1.21";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "MrYsLab";
repo = pname;
rev = version;
sha256 = "1mibyn84kjahrv3kn51yl5mhkyig4piv6wanggzjflh5nm96bhy8";
};
propagatedBuildInputs = [ pyserial ];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "pymata_express" ];
meta = with lib; {
description = "Python Asyncio Arduino Firmata Client";
longDescription = ''
Pymata-Express is a Python Firmata Protocol client. When used in conjunction
with an Arduino Firmata sketch, it permits you to control and monitor Arduino
hardware remotely over a serial link.
'';
homepage = "https://mryslab.github.io/pymata-express/";
license = with licenses; [ agpl3Plus ];
maintainers = with maintainers; [ fab ];
};
}