2019-11-29 16:57:26 +00:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, isPy3k
|
|
|
|
, 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 ];
|
|
|
|
|
2019-11-29 16:57:26 +00:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "asyncio extension package for pyserial";
|
|
|
|
homepage = "https://github.com/pyserial/pyserial-asyncio";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ etu ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|