diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2021-02-21 11:42:20 +0100 |
---|---|---|
committer | Fabian Affolter <mail@fabian-affolter.ch> | 2021-02-21 11:42:20 +0100 |
commit | 50dfb6babddbceef8cdd0f3d3fef76723325c09f (patch) | |
tree | 3e57ded5627555969a86e83b9900826603f977ca /pkgs/development/python-modules/aiocache | |
parent | b8ec6cfdd45b442ffae14447d1dbd7d87db47027 (diff) | |
download | nixpkgs-50dfb6babddbceef8cdd0f3d3fef76723325c09f.tar nixpkgs-50dfb6babddbceef8cdd0f3d3fef76723325c09f.tar.gz nixpkgs-50dfb6babddbceef8cdd0f3d3fef76723325c09f.tar.bz2 nixpkgs-50dfb6babddbceef8cdd0f3d3fef76723325c09f.tar.lz nixpkgs-50dfb6babddbceef8cdd0f3d3fef76723325c09f.tar.xz nixpkgs-50dfb6babddbceef8cdd0f3d3fef76723325c09f.tar.zst nixpkgs-50dfb6babddbceef8cdd0f3d3fef76723325c09f.zip |
python3Packages.aiocache: init at 0.11.1
Diffstat (limited to 'pkgs/development/python-modules/aiocache')
-rw-r--r-- | pkgs/development/python-modules/aiocache/default.nix | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/aiocache/default.nix b/pkgs/development/python-modules/aiocache/default.nix new file mode 100644 index 00000000000..54979dbd7ba --- /dev/null +++ b/pkgs/development/python-modules/aiocache/default.nix @@ -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 ]; + }; +} |