python311Packages.aiocache: update meta

- disable on unsupported Python releases
This commit is contained in:
Fabian Affolter 2023-02-11 09:11:01 +01:00 committed by GitHub
parent c7961565fd
commit 35a23cf4e9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,17 +3,21 @@
, buildPythonPackage
, fetchFromGitHub
, msgpack
, pythonOlder
}:
buildPythonPackage rec {
pname = "aiocache";
version = "0.12.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "aio-libs";
repo = pname;
rev = "v${version}";
sha256 = "sha256-jNfU5jT2xLgwVeVp8jXrQ6QQuUDwMOxf+hZ7VFsMFpM=";
rev = "refs/tags/v${version}";
hash = "sha256-jNfU5jT2xLgwVeVp8jXrQ6QQuUDwMOxf+hZ7VFsMFpM=";
};
propagatedBuildInputs = [
@ -23,11 +27,15 @@ buildPythonPackage rec {
# aiomcache would be required but last release was in 2017
doCheck = false;
pythonImportsCheck = [ "aiocache" ];
pythonImportsCheck = [
"aiocache"
];
meta = with lib; {
description = "Python API Rate Limit Decorator";
homepage = "https://github.com/tomasbasham/ratelimit";
homepage = "https://github.com/aio-libs/aiocache";
changelog = "https://github.com/aio-libs/aiocache/releases/tag/v${version}";
license = with licenses; [ bsd3 ];
maintainers = with maintainers; [ fab ];
};