Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.03 786 B view raw
1{ lib, buildPythonPackage, fetchPypi 2, redis 3, memcached 4, msgpack-python 5}: 6 7buildPythonPackage rec { 8 pname = "cachy"; 9 version = "0.2.0"; 10 11 src = fetchPypi { 12 inherit pname version; 13 sha256 = "0v6mjyhgx6j7ya20bk69cr3gdzdkdf6psay0h090rscclgji65dp"; 14 }; 15 16 propagatedBuildInputs = [ 17 redis 18 memcached 19 msgpack-python 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}