2021-10-02 23:26:00 +02:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pythonOlder
|
|
|
|
, pyserial
|
|
|
|
}:
|
2019-11-29 17:57:26 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pyserial-asyncio";
|
2021-10-02 23:20:23 +02:00
|
|
|
version = "0.6";
|
2019-11-29 17:57:26 +01:00
|
|
|
|
2021-10-02 23:26:00 +02:00
|
|
|
disabled = pythonOlder "3.5";
|
2019-11-29 17:57:26 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-10-02 23:20:23 +02:00
|
|
|
sha256 = "sha256-tgMpI+BenXXsF6WvmphCnEbSg5rfr4BgTVLg+qzXoy8=";
|
2019-11-29 17:57:26 +01:00
|
|
|
};
|
|
|
|
|
2021-10-02 23:26:00 +02:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
pyserial
|
|
|
|
];
|
|
|
|
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"serial_asyncio"
|
|
|
|
];
|
2020-11-02 19:33:35 +01:00
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2021-10-02 23:26:00 +02:00
|
|
|
description = "Asyncio extension package for pyserial";
|
2019-11-29 17:57:26 +01:00
|
|
|
homepage = "https://github.com/pyserial/pyserial-asyncio";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ etu ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|