Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / pyserial-asyncio-fast / default.nix
blobd935b2c171551283d17270fe5da3aabd80ed926c
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
5 # build-system
6 , setuptools
7 , wheel
9 # dependencies
10 , pyserial
12 # tests
13 , pytestCheckHook
14 , pytest-asyncio
17 buildPythonPackage rec {
18   pname = "pyserial-asyncio-fast";
19   version = "0.11";
20   pyproject = true;
22   src = fetchFromGitHub {
23     owner = "bdraco";
24     repo = "pyserial-asyncio-fast";
25     rev = version;
26     hash = "sha256-B1CLk7ggI7l+DaMDlnMjl2tfh+evvaf1nxzBpmqMBZk=";
27   };
29   nativeBuildInputs = [
30     setuptools
31     wheel
32   ];
34   propagatedBuildInputs = [
35     pyserial
36   ];
38   pythonImportsCheck = [
39     "serial_asyncio_fast"
40   ];
42   nativeCheckInputs = [
43     pytestCheckHook
44     pytest-asyncio
45   ];
47   meta = with lib; {
48     description = "Fast asyncio extension package for pyserial that implements eager writes";
49     homepage = "https://github.com/bdraco/pyserial-asyncio-fast";
50     license = licenses.bsd3;
51     maintainers = with maintainers; [ hexa ];
52   };