1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 pytestCheckHook,
6}:
7
8buildPythonPackage rec {
9 pname = "intelhex";
10 version = "2.3.0";
11 format = "setuptools";
12
13 src = fetchPypi {
14 inherit pname version;
15 hash = "sha256-iStzYacZ9JRSN9qMz3VOlRPbMvViiFJ4WuoQjc0lAJM=";
16 };
17
18 nativeCheckInputs = [ pytestCheckHook ];
19
20 enabledTestPaths = [ "intelhex/test.py" ];
21
22 pythonImportsCheck = [ "intelhex" ];
23
24 meta = {
25 homepage = "https://github.com/bialix/intelhex";
26 description = "Python library for Intel HEX files manipulations";
27 license = lib.licenses.bsd3;
28 maintainers = with lib.maintainers; [ pjones ];
29 };
30}