1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5}:
6
7buildPythonPackage rec {
8 pname = "pytricia";
9 version = "unstable-2019-01-16";
10 format = "setuptools";
11
12 src = fetchFromGitHub {
13 owner = "jsommers";
14 repo = pname;
15 rev = "4ba88f68c3125f789ca8cd1cfae156e1464bde87";
16 sha256 = "0qp5774xkm700g35k5c76pck8pdzqlyzbaqgrz76a1yh67s2ri8h";
17 };
18
19 meta = with lib; {
20 description = "Library for fast IP address lookup in Python";
21 homepage = "https://github.com/jsommers/pytricia";
22 license = with licenses; [ lgpl3Plus ];
23 maintainers = with maintainers; [ mkg ];
24 };
25}