3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/pyserial/default.nix
2018-06-29 21:06:39 +02:00

22 lines
569 B
Nix

{ lib, fetchPypi, buildPythonPackage, hostPlatform }:
buildPythonPackage rec {
pname = "pyserial";
version="3.4";
src = fetchPypi {
inherit pname version;
sha256 = "09y68bczw324a4jb9a1cfwrbjhq179vnfkkkrybbksp0vqgl0bbf";
};
checkPhase = "python -m unittest discover -s test";
doInstallCheck = !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 ];
};
}