summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/bhopengraph/default.nix
blob: 1a35ed31cd927e6e6a3867dacc30382f059f071e (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
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  poetry-core,
}:

buildPythonPackage rec {
  pname = "bhopengraph";
  version = "1.3.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "p0dalirius";
    repo = "bhopengraph";
    tag = "v${version}";
    hash = "sha256-rpJZhABYsiv3uZdb6zLEYGYMOv8Gyd6kZ9k0d9Ob1FQ=";
  };

  build-system = [ poetry-core ];

  pythonImportsCheck = [ "bhopengraph" ];

  # Module has no tests
  doCheck = false;

  meta = {
    description = "Library to create BloodHound OpenGraphs";
    homepage = "https://github.com/p0dalirius/bhopengraph";
    changelog = "https://github.com/p0dalirius/bhopengraph/releases/tag/${src.tag}";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ fab ];
  };
}