python.pyserial: 2.7 -> 3.4

in preparation for platformio update
This commit is contained in:
makefu
2017-09-29 14:57:20 +02:00
committed by Orivej Desh
parent 761a12f8b5
commit 8c0a37f857
2 changed files with 22 additions and 16 deletions

View File

@@ -0,0 +1,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 ];
};
}