nixpkgs/pkgs/development/python-modules/aiomcache/default.nix
Martin Weinelt 8ea6bde88d
treewide: prune pythonOlder 3.10/3.11
This is a post 3.10 removal cleanup.
2026-02-15 04:33:54 +01:00

40 lines
848 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
# build-system
setuptools,
# dependencies
python-memcached,
}:
buildPythonPackage rec {
pname = "aiomcache";
version = "0.8.2";
pyproject = true;
src = fetchFromGitHub {
owner = "aio-libs";
repo = "aiomcache";
rev = "v${version}";
hash = "sha256-+rlKHDop0kNxJ0HoXROs/oyI4zE3MDyxXXhWZtVDMj4=";
};
build-system = [ setuptools ];
dependencies = [ python-memcached ];
doCheck = false; # executes memcached in docker
pythonImportsCheck = [ "aiomcache" ];
meta = {
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 = lib.licenses.bsd2;
maintainers = with lib.maintainers; [ hexa ];
};
}