8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
21 lines
563 B
Nix
21 lines
563 B
Nix
{ stdenv, lib, fetchPypi, buildPythonPackage }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pyserial";
|
|
version="3.4";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "09y68bczw324a4jb9a1cfwrbjhq179vnfkkkrybbksp0vqgl0bbf";
|
|
};
|
|
|
|
checkPhase = "python -m unittest discover -s test";
|
|
doCheck = !stdenv.hostPlatform.isDarwin; # broken on darwin
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/pyserial/pyserial";
|
|
license = licenses.psfl;
|
|
description = "Python serial port extension";
|
|
maintainers = with maintainers; [ makefu ];
|
|
};
|
|
}
|