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