2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2019-05-14 15:13:14 +01:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pytricia";
|
|
|
|
version = "unstable-2019-01-16";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "jsommers";
|
|
|
|
repo = pname;
|
|
|
|
rev = "4ba88f68c3125f789ca8cd1cfae156e1464bde87";
|
|
|
|
sha256 = "0qp5774xkm700g35k5c76pck8pdzqlyzbaqgrz76a1yh67s2ri8h";
|
|
|
|
};
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2019-05-14 15:13:14 +01:00
|
|
|
description = "A library for fast IP address lookup in Python";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/jsommers/pytricia";
|
2019-05-14 15:13:14 +01:00
|
|
|
license = with licenses; [ lgpl3Plus ];
|
|
|
|
maintainers = with maintainers; [ mkg ];
|
|
|
|
};
|
|
|
|
}
|