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