python312Packages.aiomcache: init at 0.8.1

This commit is contained in:
Martin Weinelt
2024-05-04 16:53:35 +02:00
parent 5e455b5f95
commit ca77725776
2 changed files with 51 additions and 0 deletions
@@ -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 ];
};
}
+2
View File
@@ -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 { };