Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 38 lines 976 B view raw
1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, pyserial 5, pytestCheckHook 6, pythonOlder 7}: 8 9buildPythonPackage rec { 10 pname = "pymata-express"; 11 version = "1.19"; 12 disabled = pythonOlder "3.7"; 13 14 src = fetchFromGitHub { 15 owner = "MrYsLab"; 16 repo = pname; 17 rev = "v${version}"; 18 sha256 = "0gfjmqcxwsnfjgll6ql5xd1n3xp4klf4fcaajaivh053i02p0a79"; 19 }; 20 21 propagatedBuildInputs = [ pyserial ]; 22 23 # Project has no tests 24 doCheck = false; 25 pythonImportsCheck = [ "pymata_express" ]; 26 27 meta = with lib; { 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 licenses; [ agpl3Plus ]; 36 maintainers = with maintainers; [ fab ]; 37 }; 38}