pythonPackages.cachy: init at 0.2.0

This commit is contained in:
Jake Waksbaum 2019-01-07 17:27:11 +00:00
parent 9f6a76b95b
commit a9ced39e88
2 changed files with 35 additions and 0 deletions

View File

@ -0,0 +1,33 @@
{ lib, buildPythonPackage, fetchPypi
, redis
, memcached
, msgpack-python
}:
buildPythonPackage rec {
pname = "cachy";
version = "0.2.0";
src = fetchPypi {
inherit pname version;
sha256 = "0v6mjyhgx6j7ya20bk69cr3gdzdkdf6psay0h090rscclgji65dp";
};
propagatedBuildInputs = [
redis
memcached
msgpack-python
];
# The Pypi tarball doesn't include tests, and the GitHub source isn't
# buildable until we bootstrap poetry, see
# https://github.com/NixOS/nixpkgs/pull/53599#discussion_r245855665
doCheck = false;
meta = with lib; {
homepage = https://github.com/sdispater/cachy;
description = "Cachy provides a simple yet effective caching library";
license = licenses.mit;
maintainers = with maintainers; [ jakewaksbaum ];
};
}

View File

@ -286,6 +286,8 @@ in {
cachecontrol = callPackage ../development/python-modules/cachecontrol { };
cachy = callPackage ../development/python-modules/cachy { };
cdecimal = callPackage ../development/python-modules/cdecimal { };
chalice = callPackage ../development/python-modules/chalice { };