nixpkgs/pkgs/development/python-modules/pyserial-asyncio/default.nix
2020-12-01 14:44:18 +01:00

25 lines
641 B
Nix

{ stdenv, buildPythonPackage, fetchPypi, isPy3k
, pyserial }:
buildPythonPackage rec {
pname = "pyserial-asyncio";
version = "0.5";
disabled = !isPy3k; # Doesn't support python older than 3.4
src = fetchPypi {
inherit pname version;
sha256 = "1641e5433a866eeaf6464b3ab88b741e7a89dd8cd0f851b3343b15f425138d33";
};
propagatedBuildInputs = [ pyserial ];
meta = with stdenv.lib; {
description = "asyncio extension package for pyserial";
homepage = "https://github.com/pyserial/pyserial-asyncio";
license = licenses.bsd3;
maintainers = with maintainers; [ etu ];
platforms = platforms.linux;
};
}