Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / pyserial-asyncio / default.nix
blob54f3f80a3f8fce75baf6028b24a9ced11fe0660c
1 { lib, buildPythonPackage, fetchPypi, isPy3k
2 , pyserial }:
4 buildPythonPackage rec {
5   pname = "pyserial-asyncio";
6   version = "0.5";
8   disabled = !isPy3k; # Doesn't support python older than 3.4
10   src = fetchPypi {
11     inherit pname version;
12     sha256 = "1641e5433a866eeaf6464b3ab88b741e7a89dd8cd0f851b3343b15f425138d33";
13   };
15   propagatedBuildInputs = [ pyserial ];
17   meta = with lib; {
18     description = "asyncio extension package for pyserial";
19     homepage = "https://github.com/pyserial/pyserial-asyncio";
20     license = licenses.bsd3;
21     maintainers = with maintainers; [ etu ];
22     platforms = platforms.linux;
23   };