depot/third_party/nixpkgs/pkgs/development/python-modules/py-radix/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

28 lines
627 B
Nix

{ stdenv
, 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 stdenv.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 ];
};
}