diff --git a/pkgs/development/python-modules/procmon-parser/default.nix b/pkgs/development/python-modules/procmon-parser/default.nix new file mode 100644 index 0000000000000..b45d72f3d07d8 --- /dev/null +++ b/pkgs/development/python-modules/procmon-parser/default.nix @@ -0,0 +1,46 @@ +{ lib +, buildPythonPackage +, construct +, fetchFromGitHub +, pytestCheckHook +, python-dateutil +, pythonOlder +, six +}: + +buildPythonPackage rec { + pname = "procmon-parser"; + version = "0.3.13"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; + + src = fetchFromGitHub { + owner = "eronnen"; + repo = "procmon-parser"; + rev = "refs/tags/v${version}"; + hash = "sha256-XkMf3MQK4WFRLl60XHDG/j2gRHAiz7XL9MmC6SRg9RE="; + }; + + propagatedBuildInputs = [ + construct + six + ]; + + nativeCheckInputs = [ + pytestCheckHook + python-dateutil + ]; + + pythonImportsCheck = [ + "procmon_parser" + ]; + + meta = with lib; { + description = "Parser to process monitor file formats"; + homepage = "https://github.com/eronnen/procmon-parser/"; + changelog = "https://github.com/eronnen/procmon-parser/releases/tag/v${version}"; + license = licenses.mit; + maintainers = with maintainers; [ fab ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 446eccfa19551..42656879e7636 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -8527,6 +8527,8 @@ self: super: with self; { process-tests = callPackage ../development/python-modules/process-tests { }; + procmon-parser = callPackage ../development/python-modules/procmon-parser { }; + proglog = callPackage ../development/python-modules/proglog { }; progressbar2 = callPackage ../development/python-modules/progressbar2 { };