aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/nixpkgs/pkgs/development/python-modules/pyserial-asyncio/default.nix
blob: 5e721504eda5979b2e6432e6f54ad3eb477aba7b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ 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;
  };
}