summary refs log tree commit diff
path: root/pkgs/development/python-modules/pytricia/default.nix
blob: 01c4ea014adca50e8286f05ba6ce07ebebed4f98 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ lib
, buildPythonPackage
, fetchFromGitHub
}:

buildPythonPackage rec {
  pname = "pytricia";
  version = "unstable-2019-01-16";

  src = fetchFromGitHub {
    owner = "jsommers";
    repo = pname;
    rev = "4ba88f68c3125f789ca8cd1cfae156e1464bde87";
    sha256 = "0qp5774xkm700g35k5c76pck8pdzqlyzbaqgrz76a1yh67s2ri8h";
  };

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