summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/radixtarget/default.nix
blob: 5ade2268a5ef1be4b1a1655b7c9ee8e705454bf4 (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
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  poetry-core,
  poetry-dynamic-versioning,
}:

buildPythonPackage rec {
  pname = "radixtarget";
  version = "3.0.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "blacklanternsecurity";
    repo = "radixtarget";
    rev = "v${version}";
    hash = "sha256-C7QmiAc8SO7ddfseoGDYkmrkLoxmAGww9MPhBX94ucg=";
  };

  build-system = [
    poetry-core
    poetry-dynamic-versioning
  ];

  # Module has no tests
  doCheck = false;

  pythonImportsCheck = [ "radixtarget" ];

  meta = {
    description = "Radix implementation designed for lookups of IP addresses/networks and DNS hostnames";
    homepage = "https://github.com/blacklanternsecurity/radixtarget";
    license = lib.licenses.gpl3Only;
    maintainers = with lib.maintainers; [ fab ];
  };
}