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