1{ lib, buildPythonPackage, fetchPypi 2, redis 3, python-memcached 4, msgpack 5}: 6 7buildPythonPackage rec { 8 pname = "cachy"; 9 version = "0.3.0"; 10 11 src = fetchPypi { 12 inherit pname version; 13 sha256 = "186581f4ceb42a0bbe040c407da73c14092379b1e4c0e327fdb72ae4a9b269b1"; 14 }; 15 16 propagatedBuildInputs = [ 17 redis 18 python-memcached 19 msgpack 20 ]; 21 22 # The Pypi tarball doesn't include tests, and the GitHub source isn't 23 # buildable until we bootstrap poetry, see 24 # https://github.com/NixOS/nixpkgs/pull/53599#discussion_r245855665 25 doCheck = false; 26 27 meta = with lib; { 28 homepage = "https://github.com/sdispater/cachy"; 29 description = "Cachy provides a simple yet effective caching library"; 30 license = licenses.mit; 31 maintainers = with maintainers; [ jakewaksbaum ]; 32 }; 33}