Merge pull request #140321 from fabaff/bump-pyserial-asyncio
This commit is contained in:
@@ -1,21 +1,31 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, isPy3k
|
||||
, pyserial }:
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pythonOlder
|
||||
, pyserial
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyserial-asyncio";
|
||||
version = "0.5";
|
||||
version = "0.6";
|
||||
|
||||
disabled = !isPy3k; # Doesn't support python older than 3.4
|
||||
disabled = pythonOlder "3.5";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1641e5433a866eeaf6464b3ab88b741e7a89dd8cd0f851b3343b15f425138d33";
|
||||
sha256 = "sha256-tgMpI+BenXXsF6WvmphCnEbSg5rfr4BgTVLg+qzXoy8=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ pyserial ];
|
||||
propagatedBuildInputs = [
|
||||
pyserial
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"serial_asyncio"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "asyncio extension package for pyserial";
|
||||
description = "Asyncio extension package for pyserial";
|
||||
homepage = "https://github.com/pyserial/pyserial-asyncio";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ etu ];
|
||||
|
||||
Reference in New Issue
Block a user