summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/procmon-parser/default.nix
blob: 6a0bba9c3bb65ec63e8beb31e9a291dbfa756beb (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
{
  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";
    tag = "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 ];
  };
}