1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 poetry-core,
6 poetry-dynamic-versioning,
7}:
8
9buildPythonPackage rec {
10 pname = "radixtarget";
11 version = "3.0.0";
12 pyproject = true;
13
14 src = fetchFromGitHub {
15 owner = "blacklanternsecurity";
16 repo = "radixtarget";
17 rev = "v${version}";
18 hash = "sha256-C7QmiAc8SO7ddfseoGDYkmrkLoxmAGww9MPhBX94ucg=";
19 };
20
21 build-system = [
22 poetry-core
23 poetry-dynamic-versioning
24 ];
25
26 # Module has no tests
27 doCheck = false;
28
29 pythonImportsCheck = [ "radixtarget" ];
30
31 meta = {
32 description = "Radix implementation designed for lookups of IP addresses/networks and DNS hostnames";
33 homepage = "https://github.com/blacklanternsecurity/radixtarget";
34 license = lib.licenses.gpl3Only;
35 maintainers = with lib.maintainers; [ fab ];
36 };
37}