2021-01-25 08:26:54 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, isPy3k
|
2019-11-29 16:57:26 +00:00
|
|
|
, pyserial }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pyserial-asyncio";
|
2020-11-29 14:04:38 +00:00
|
|
|
version = "0.5";
|
2019-11-29 16:57:26 +00:00
|
|
|
|
|
|
|
disabled = !isPy3k; # Doesn't support python older than 3.4
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-11-29 14:04:38 +00:00
|
|
|
sha256 = "1641e5433a866eeaf6464b3ab88b741e7a89dd8cd0f851b3343b15f425138d33";
|
2019-11-29 16:57:26 +00:00
|
|
|
};
|
|
|
|
|
2020-11-02 18:33:35 +00:00
|
|
|
propagatedBuildInputs = [ pyserial ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2019-11-29 16:57:26 +00:00
|
|
|
description = "asyncio extension package for pyserial";
|
|
|
|
homepage = "https://github.com/pyserial/pyserial-asyncio";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ etu ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|