depot/third_party/nixpkgs/pkgs/development/python-modules/pyserial-asyncio/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

24 lines
619 B
Nix

{ stdenv, buildPythonPackage, fetchPypi, isPy3k
, pyserial }:
buildPythonPackage rec {
pname = "pyserial-asyncio";
version = "0.4";
disabled = !isPy3k; # Doesn't support python older than 3.4
buildInputs = [ pyserial ];
src = fetchPypi {
inherit pname version;
sha256 = "1vlsb0d03krxlj7vpvyhpinnyxyy8s3lk5rs8ba2932dhyl7f1n4";
};
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;
};
}