depot/third_party/nixpkgs/pkgs/development/python-modules/asyncserial/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

30 lines
676 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
pyserial,
}:
buildPythonPackage rec {
pname = "asyncserial";
version = "unstable-2022-06-10";
format = "setuptools";
src = fetchFromGitHub {
owner = "m-labs";
repo = "asyncserial";
rev = "446559fec892a556876b17d17f182ae9647d5952";
hash = "sha256-WExmgh55sTH2w7wV3i96J1F1FN7L5rX3L/Ayvt2Kw/g=";
};
propagatedBuildInputs = [ pyserial ];
pythonImportsCheck = [ "asyncserial" ];
meta = with lib; {
description = "asyncio support for pyserial";
homepage = "https://github.com/m-labs/asyncserial";
license = licenses.bsd2;
maintainers = with maintainers; [ doronbehar ];
};
}