summary refs log tree commit diff
path: root/pkgs/development/python-modules/pyserial/default.nix
blob: 95ab0f339b06739e8f6badc61dd6a10833e11e78 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ lib, fetchPypi, buildPythonPackage }:

buildPythonPackage rec {
  pname = "pyserial";
  version="3.4";
  name = "${pname}-${version}";

  src = fetchPypi {
    inherit pname version;
    sha256 = "09y68bczw324a4jb9a1cfwrbjhq179vnfkkkrybbksp0vqgl0bbf";
  };

  checkPhase = "python -m unittest discover -s test";

  meta = with lib; {
    homepage = "https://github.com/pyserial/pyserial";
    license = licenses.psfl;
    description = "Python serial port extension";
    maintainers = with maintainers; [ makefu ];
  };
}