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