python.pyserial: 2.7 -> 3.4
in preparation for platformio update
This commit is contained in:
parent
761a12f8b5
commit
8c0a37f857
21
pkgs/development/python-modules/pyserial/default.nix
Normal file
21
pkgs/development/python-modules/pyserial/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -17876,22 +17876,7 @@ in {
|
||||
};
|
||||
};
|
||||
|
||||
pyserial = buildPythonPackage rec {
|
||||
name = "pyserial-2.7";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/p/pyserial/${name}.tar.gz";
|
||||
sha256 = "3542ec0838793e61d6224e27ff05e8ce4ba5a5c5cc4ec5c6a3e8d49247985477";
|
||||
};
|
||||
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
homepage = "http://pyserial.sourceforge.net/";
|
||||
license = licenses.psfl;
|
||||
description = "Python serial port extension";
|
||||
};
|
||||
};
|
||||
pyserial = callPackage ../development/python-modules/pyserial {};
|
||||
|
||||
pymongo = callPackage ../development/python-modules/pymongo {};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user