evcc: 0.131.8 -> 0.131.10 (#364658)
[NixPkgs.git] / pkgs / development / python-modules / pyserial-asyncio-fast / default.nix
blob17951563bed7b65b9bdf7ac8a9db73cb26e03d4f
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
6   # build-system
7   setuptools,
9   # dependencies
10   pyserial,
12   # tests
13   pytestCheckHook,
14   pytest-asyncio,
17 buildPythonPackage rec {
18   pname = "pyserial-asyncio-fast";
19   version = "0.14";
20   pyproject = true;
22   src = fetchFromGitHub {
23     owner = "bdraco";
24     repo = "pyserial-asyncio-fast";
25     rev = version;
26     hash = "sha256-ZnXuwHvYq/BrEW6YV6T0sQ03u2rpwNBnpF+dXAmvxKQ=";
27   };
29   build-system = [ setuptools ];
31   dependencies = [ pyserial ];
33   pythonImportsCheck = [ "serial_asyncio_fast" ];
35   nativeCheckInputs = [
36     pytestCheckHook
37     pytest-asyncio
38   ];
40   meta = with lib; {
41     changelog = "https://github.com/home-assistant-libs/pyserial-asyncio-fast/releases/tag/${version}";
42     description = "Fast asyncio extension package for pyserial that implements eager writes";
43     homepage = "https://github.com/bdraco/pyserial-asyncio-fast";
44     license = licenses.bsd3;
45     maintainers = with maintainers; [ hexa ];
46   };