2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2019-05-13 22:15:34 +01:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
|
|
|
, coverage
|
|
|
|
, nose
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "py-radix";
|
|
|
|
version = "0.10.0";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mjschultz";
|
|
|
|
repo = "py-radix";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "01xyn9lg6laavnzczf5bck1l1c2718ihxx0hvdkclnnxjqhbrqis";
|
|
|
|
};
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
checkInputs = [ coverage nose ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2019-05-13 22:15:34 +01:00
|
|
|
description = "Python radix tree for IPv4 and IPv6 prefix matching";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/mjschultz/py-radix";
|
2019-05-13 22:15:34 +01:00
|
|
|
license = with licenses; [ isc bsdOriginal ];
|
|
|
|
maintainers = with maintainers; [ mkg ];
|
|
|
|
};
|
|
|
|
}
|