2020-02-22 20:59:02 +00:00
|
|
|
{ lib, python3Packages }:
|
|
|
|
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
|
|
pname = "tockloader";
|
2020-07-24 11:49:45 +01:00
|
|
|
version = "1.5.0";
|
2020-02-22 20:59:02 +00:00
|
|
|
|
|
|
|
src = python3Packages.fetchPypi {
|
|
|
|
inherit pname version;
|
2020-07-24 11:49:45 +01:00
|
|
|
sha256 = "11k4ppwq845lnj265ydfr0cn1rrym5amx2i19x1h3ccbxc3gsy3x";
|
2020-02-22 20:59:02 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = with python3Packages; [
|
|
|
|
argcomplete
|
|
|
|
colorama
|
|
|
|
crcmod
|
|
|
|
pytoml
|
|
|
|
pyserial
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/tock/tockloader";
|
|
|
|
license = licenses.mit;
|
|
|
|
description = "Tool for programming Tock onto hardware boards.";
|
|
|
|
maintainers = with maintainers; [ hexa ];
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|