1{ 2 lib, 3 buildPythonPackage, 4 construct, 5 fetchFromGitHub, 6 pytestCheckHook, 7 python-dateutil, 8 pythonOlder, 9 six, 10}: 11 12buildPythonPackage rec { 13 pname = "procmon-parser"; 14 version = "0.3.13"; 15 format = "setuptools"; 16 17 disabled = pythonOlder "3.7"; 18 19 src = fetchFromGitHub { 20 owner = "eronnen"; 21 repo = "procmon-parser"; 22 tag = "v${version}"; 23 hash = "sha256-XkMf3MQK4WFRLl60XHDG/j2gRHAiz7XL9MmC6SRg9RE="; 24 }; 25 26 propagatedBuildInputs = [ 27 construct 28 six 29 ]; 30 31 nativeCheckInputs = [ 32 pytestCheckHook 33 python-dateutil 34 ]; 35 36 pythonImportsCheck = [ "procmon_parser" ]; 37 38 meta = with lib; { 39 description = "Parser to process monitor file formats"; 40 homepage = "https://github.com/eronnen/procmon-parser/"; 41 changelog = "https://github.com/eronnen/procmon-parser/releases/tag/v${version}"; 42 license = licenses.mit; 43 maintainers = with maintainers; [ fab ]; 44 }; 45}