Merge pull request #109970 from fabaff/pymata-express

This commit is contained in:
Sandro 2021-01-19 16:47:38 +01:00 committed by GitHub
commit 48e2a27270
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 41 additions and 1 deletions

View file

@ -0,0 +1,38 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pyserial
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "pymata-express";
version = "1.19";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "MrYsLab";
repo = pname;
rev = "v${version}";
sha256 = "0gfjmqcxwsnfjgll6ql5xd1n3xp4klf4fcaajaivh053i02p0a79";
};
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 ];
};
}

View file

@ -253,7 +253,7 @@
"filter" = ps: with ps; [ aiohttp-cors sqlalchemy ];
"fints" = ps: with ps; [ fints ];
"fireservicerota" = ps: with ps; [ ]; # missing inputs: pyfireservicerota
"firmata" = ps: with ps; [ ]; # missing inputs: pymata-express
"firmata" = ps: with ps; [ pymata-express ];
"fitbit" = ps: with ps; [ aiohttp-cors fitbit ];
"fixer" = ps: with ps; [ fixerio ];
"fleetgo" = ps: with ps; [ ]; # missing inputs: ritassist

View file

@ -5540,6 +5540,8 @@ in {
pymaging_png = callPackage ../development/python-modules/pymaging_png { };
pymata-express = callPackage ../development/python-modules/pymata-express { };
pymatgen = callPackage ../development/python-modules/pymatgen { };
pymatgen-lammps = callPackage ../development/python-modules/pymatgen-lammps { };