python312Packages.aiomcache: init at 0.8.1
This commit is contained in:
@@ -0,0 +1,49 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pythonOlder
|
||||
|
||||
# build-system
|
||||
, setuptools
|
||||
|
||||
# dependencies
|
||||
, python-memcached
|
||||
, typing-extensions
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aiomcache";
|
||||
version = "0.8.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "aio-libs";
|
||||
repo = "aiomcache";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-oRMN1seEjFSsq4wjkIXHM7Osq8y/5WFExGCEr6eM9vc=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
python-memcached
|
||||
] ++ lib.optionals (pythonOlder "3.11") [
|
||||
typing-extensions
|
||||
];
|
||||
|
||||
doCheck = false; # executes memcached in docker
|
||||
|
||||
pythonImportsCheck = [
|
||||
"aiomcache"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
changelog = "https://github.com/aio-libs/aiomcache/blob/${src.rev}/CHANGES.rst";
|
||||
description = "Minimal asyncio memcached client";
|
||||
homepage = "https://github.com/aio-libs/aiomcache/";
|
||||
license = licenses.bsd2;
|
||||
maintainers = with maintainers; [ hexa ];
|
||||
};
|
||||
}
|
||||
@@ -309,6 +309,8 @@ self: super: with self; {
|
||||
|
||||
aiolyric = callPackage ../development/python-modules/aiolyric { };
|
||||
|
||||
aiomcache = callPackage ../development/python-modules/aiomcache { };
|
||||
|
||||
aiomisc = callPackage ../development/python-modules/aiomisc { };
|
||||
|
||||
aiomisc-pytest = callPackage ../development/python-modules/aiomisc-pytest { };
|
||||
|
||||
Reference in New Issue
Block a user