2018-06-23 23:48:19 +02:00
|
|
|
{ lib, fetchPypi, buildPythonPackage, hostPlatform }:
|
2017-09-29 14:57:20 +02:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pyserial";
|
|
|
|
version="3.4";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "09y68bczw324a4jb9a1cfwrbjhq179vnfkkkrybbksp0vqgl0bbf";
|
|
|
|
};
|
|
|
|
|
|
|
|
checkPhase = "python -m unittest discover -s test";
|
2018-06-23 23:48:19 +02:00
|
|
|
doInstallCheck = !hostPlatform.isDarwin; # broken on darwin
|
2017-09-29 14:57:20 +02:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/pyserial/pyserial";
|
|
|
|
license = licenses.psfl;
|
|
|
|
description = "Python serial port extension";
|
|
|
|
maintainers = with maintainers; [ makefu ];
|
|
|
|
};
|
|
|
|
}
|