Skip to content

Commit

Permalink
Merge pull request NixOS#252609 from fabaff/procmon-parser
Browse files Browse the repository at this point in the history
python311Packages.procmon-parser: init at 0.3.13
  • Loading branch information
natsukium authored Sep 1, 2023
2 parents 926db2b + c95bbfb commit fd895eb
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 0 deletions.
46 changes: 46 additions & 0 deletions pkgs/development/python-modules/procmon-parser/default.nix
Original file line number Diff line number Diff line change
@@ -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 ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8541,6 +8541,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 { };
Expand Down

0 comments on commit fd895eb

Please sign in to comment.