mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-16 10:43:27 +00:00
25 lines
641 B
Nix
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;
|
|
};
|
|
}
|