summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/pytricia/default.nix
blob: 8ec324147fb1ca86e30485845d9388b9f885826e (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
{
  lib,
  buildPythonPackage,
  fetchPypi,
  setuptools,
}:

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

  # no tags on git repo
  src = fetchPypi {
    inherit pname version;
    hash = "sha256-HDo9aQnhDUycLw/kVCokgeEJ0pqrmcwCfKf+k/jIhT8=";
  };

  build-system = [ setuptools ];

  pythonImportsCheck = [ "pytricia" ];

  doCheck = false; # no tests

  meta = {
    description = "Library for fast IP address lookup in Python";
    homepage = "https://github.com/jsommers/pytricia";
    license = with lib.licenses; [ lgpl3Plus ];
    maintainers = with lib.maintainers; [ mkg ];
  };
}