python3Packages.uhashring: init at 2.4
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
pytestCheckHook,
|
||||
fetchFromGitHub,
|
||||
hatchling,
|
||||
python-memcached,
|
||||
}:
|
||||
buildPythonPackage rec {
|
||||
pname = "uhashring";
|
||||
version = "2.4";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ultrabug";
|
||||
repo = "uhashring";
|
||||
tag = version;
|
||||
hash = "sha256-6zNPExbcwTUne0lT8V6xp2Gf6J1VgG7Q93qizVOAc+k=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
hatchling
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"uhashring"
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
python-memcached
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Full featured consistent hashing python library compatible with ketama";
|
||||
homepage = "https://github.com/ultrabug/uhashring";
|
||||
changelog = "https://github.com/ultrabug/uhashring/blob/${src.tag}/CHANGELOG.md";
|
||||
license = lib.licenses.bsd3;
|
||||
maintainers = with lib.maintainers; [ typedrat ];
|
||||
};
|
||||
}
|
||||
@@ -19454,6 +19454,8 @@ self: super: with self; {
|
||||
|
||||
uharfbuzz = callPackage ../development/python-modules/uharfbuzz { };
|
||||
|
||||
uhashring = callPackage ../development/python-modules/uhashring { };
|
||||
|
||||
uhi = callPackage ../development/python-modules/uhi { };
|
||||
|
||||
uiprotect = callPackage ../development/python-modules/uiprotect { };
|
||||
|
||||
Reference in New Issue
Block a user