2019-01-07 17:27:11 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi
|
|
|
|
, redis
|
|
|
|
, memcached
|
2019-09-29 09:34:30 +01:00
|
|
|
, msgpack
|
2019-01-07 17:27:11 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "cachy";
|
2019-12-19 19:31:07 +00:00
|
|
|
version = "0.3.0";
|
2019-01-07 17:27:11 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-12-19 19:31:07 +00:00
|
|
|
sha256 = "186581f4ceb42a0bbe040c407da73c14092379b1e4c0e327fdb72ae4a9b269b1";
|
2019-01-07 17:27:11 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
redis
|
|
|
|
memcached
|
2019-09-29 09:34:30 +01:00
|
|
|
msgpack
|
2019-01-07 17:27:11 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
# 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; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/sdispater/cachy";
|
2019-01-07 17:27:11 +00:00
|
|
|
description = "Cachy provides a simple yet effective caching library";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ jakewaksbaum ];
|
|
|
|
};
|
|
|
|
}
|