python3Packages.aioserial: init at 1.3.0

main
Fabian Affolter 3 years ago
parent ca2ece2bd4
commit 3d38f81b08
  1. 34
      pkgs/development/python-modules/aioserial/default.nix
  2. 2
      pkgs/top-level/python-packages.nix

@ -0,0 +1,34 @@
{ lib
, buildPythonPackage
, fetchPypi
, pyserial
, pythonOlder
}:
buildPythonPackage rec {
pname = "aioserial";
version = "1.3.0";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "080j3ws3j2arj2f16mzqn1qliy0bzmb0gzk5jvm5ldkhsf1s061h";
};
propagatedBuildInputs = [
pyserial
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "aioserial" ];
meta = with lib; {
description = "Python module for async serial communication";
homepage = "https://github.com/changyuheng/aioserial";
license = licenses.mpl20;
maintainers = with maintainers; [ fab ];
};
}

@ -367,6 +367,8 @@ in {
aiorun = callPackage ../development/python-modules/aiorun { };
aioserial = callPackage ../development/python-modules/aioserial { };
aioshelly = callPackage ../development/python-modules/aioshelly { };
aiosignal = callPackage ../development/python-modules/aiosignal { };

Loading…
Cancel
Save