Files
nixpkgs/pkgs/development/python-modules/pymata-express/default.nix
T
adisbladis 02dab4ab5c python3.pkgs.*: Explicitly pass buildPythonPackage format parameter
Long term we should move everything over to `pyproject = true`, but in
the mean time we can work towards deprecating the implicit `format` paremeter.

cc https://github.com/NixOS/nixpkgs/issues/253154
cc @mweinelt @figsoda
2023-12-07 17:46:49 +01:00

42 lines
984 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 ];
};
}