2017-06-14 22:27:20 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2021-02-10 18:10:25 +00:00
|
|
|
, pytestCheckHook
|
2017-06-14 22:27:20 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "intelhex";
|
2021-02-10 18:10:25 +00:00
|
|
|
version = "2.3.0";
|
2017-06-14 22:27:20 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-02-10 18:10:25 +00:00
|
|
|
sha256 = "sha256-iStzYacZ9JRSN9qMz3VOlRPbMvViiFJ4WuoQjc0lAJM=";
|
2017-06-14 22:27:20 +01:00
|
|
|
};
|
|
|
|
|
2021-02-10 18:10:25 +00:00
|
|
|
checkInputs = [ pytestCheckHook ];
|
|
|
|
|
|
|
|
pytestFlagsArray = [ "intelhex/test.py" ];
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "intelhex" ];
|
2017-06-14 22:27:20 +01:00
|
|
|
|
|
|
|
meta = {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/bialix/intelhex";
|
2017-06-14 22:27:20 +01:00
|
|
|
description = "Python library for Intel HEX files manipulations";
|
|
|
|
license = lib.licenses.bsd3;
|
|
|
|
maintainers = with lib.maintainers; [ pjones ];
|
|
|
|
};
|
|
|
|
}
|