python3Packages.aiocache: init at 0.11.1

This commit is contained in:
Fabian Affolter 2021-02-21 11:42:20 +01:00
parent b8ec6cfdd4
commit 50dfb6babd
2 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,34 @@
{ lib
, aioredis
, buildPythonPackage
, fetchFromGitHub
, msgpack
}:
buildPythonPackage rec {
pname = "aiocache";
version = "0.11.1";
src = fetchFromGitHub {
owner = "aio-libs";
repo = pname;
rev = version;
sha256 = "1czs8pvhzi92qy2dch2995rb62mxpbhd80dh2ir7zpa9qcm6wxvx";
};
propagatedBuildInputs = [
aioredis
msgpack
];
# aiomcache would be required but last release was in 2017
doCheck = false;
pythonImportsCheck = [ "aiocache" ];
meta = with lib; {
description = "Python API Rate Limit Decorator";
homepage = "https://github.com/tomasbasham/ratelimit";
license = with licenses; [ bsd3 ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -210,6 +210,8 @@ in {
aioasuswrt = callPackage ../development/python-modules/aioasuswrt { }; aioasuswrt = callPackage ../development/python-modules/aioasuswrt { };
aiocache = callPackage ../development/python-modules/aiocache { };
aiocoap = callPackage ../development/python-modules/aiocoap { }; aiocoap = callPackage ../development/python-modules/aiocoap { };
aioconsole = callPackage ../development/python-modules/aioconsole { }; aioconsole = callPackage ../development/python-modules/aioconsole { };