depot/third_party/nixpkgs/pkgs/development/python-modules/aioserial/default.nix
Default email 83405b6dd2 Project import generated by Copybara.
GitOrigin-RevId: ac718d02867a84b42522a0ece52d841188208f2c
2023-03-15 17:39:30 +01:00

34 lines
651 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pyserial
, pythonOlder
}:
buildPythonPackage rec {
pname = "aioserial";
version = "1.3.1";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
hash = "sha256-cCvwOw64S47y2NrFy5JeHmhdzpj3exJVabxv0rO1gig=";
};
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 ];
};
}