summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/la-panic/default.nix
blob: 9d2600623823c07b0ddab4e1f435d37b400edd9d (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
46
{
  buildPythonPackage,
  cached-property,
  click,
  coloredlogs,
  fetchFromGitLab,
  lib,
  pytestCheckHook,
  setuptools,
}:

buildPythonPackage rec {
  pname = "la-panic";
  version = "0.5.0";
  pyproject = true;

  src = fetchFromGitLab {
    owner = "yanivhasbanidev";
    repo = "la_panic";
    tag = version;
    hash = "sha256-V9VUSp5uvj4jR3oVHdRjvnNDGB1a5bi8elu/ry4jq00=";
  };

  build-system = [ setuptools ];

  dependencies = [
    cached-property
    click
    coloredlogs
  ];

  pythonImportsCheck = [ "la_panic" ];

  nativeCheckInputs = [
    pytestCheckHook
  ];

  meta = {
    changelog = "https://gitlab.com/yanivhasbanidev/la_panic/-/tags/${src.tag}";
    description = "AppleOS Kernel Panic Parser";
    homepage = "https://gitlab.com/yanivhasbanidev/la_panic";
    license = lib.licenses.gpl3Plus;
    mainProgram = "la_panic";
    maintainers = [ lib.maintainers.dotlambda ];
  };
}