nixpkgs-suyu/pkgs/development/python-modules/py-radix/default.nix
2021-01-25 18:31:47 +01:00

28 lines
617 B
Nix

{ lib
, 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 ];
meta = with lib; {
description = "Python radix tree for IPv4 and IPv6 prefix matching";
homepage = "https://github.com/mjschultz/py-radix";
license = with licenses; [ isc bsdOriginal ];
maintainers = with maintainers; [ mkg ];
};
}