mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
715dfd0b80
* py-radix: init at version 0.10.0
29 lines
625 B
Nix
29 lines
625 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 ];
|
|
};
|
|
}
|