Unverified Commit 29183806 authored by Marcel's avatar Marcel
Browse files

python3Package.py-radix: init at 1.1.0

parent 0726a0ec
Loading
Loading
Loading
Loading
+30 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  pytestCheckHook,
}:

buildPythonPackage (finalAttrs: {
  pname = "py-radix";
  version = "1.1.0";
  format = "setuptools";

  src = fetchFromGitHub {
    owner = "mjschultz";
    repo = "py-radix";
    tag = "v${finalAttrs.version}";
    hash = "sha256-++QuZEwOHKjOsIbwLmDy30PvyG0Xe29l45PvOF+YWYw=";
  };

  pythonImportsCheck = [ "radix" ];

  nativeCheckInputs = [ pytestCheckHook ];

  meta = {
    description = "Python radix tree implementation for IPv4 and IPv6 prefix matching";
    homepage = "https://github.com/mjschultz/py-radix";
    license = lib.licenses.bsdOriginal;
    maintainers = with lib.maintainers; [ marcel ];
  };
})
+2 −0
Original line number Diff line number Diff line
@@ -13219,6 +13219,8 @@ self: super: with self; {
  py-pdf-parser = callPackage ../development/python-modules/py-pdf-parser { };
  py-radix = callPackage ../development/python-modules/py-radix { };
  py-radix-sr = callPackage ../development/python-modules/py-radix-sr { };
  py-rust-stemmers = callPackage ../development/python-modules/py-rust-stemmers { };