summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/pynipap/default.nix
blob: ee263f83210e276389bf0938f2ef3fcba4f6a87d (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
{
  lib,
  buildPythonPackage,
  nipap,

  # build deps
  setuptools,
}:

buildPythonPackage rec {
  pname = "pynipap";
  pyproject = true;

  inherit (nipap) version src;

  sourceRoot = "${src.name}/pynipap";

  build-system = [
    setuptools
  ];

  doCheck = false; # tests require nose, /etc/nipap/nipap.conf and a running nipapd

  meta = {
    description = "Python client library for Neat IP Address Planner";
    longDescription = ''
      NIPAP is the best open source IPAM in the known universe,
      challenging classical IP address management (IPAM) systems in many areas.
    '';
    homepage = "https://github.com/SpriteLink/NIPAP";
    changelog = "https://github.com/SpriteLink/NIPAP/releases/tag/v${version}";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [
      lukegb
    ];
    platforms = lib.platforms.all;
  };
}