Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / cachy / default.nix
blobc88067146f34461448f2d747d44325c37b1f421c
1 { lib, buildPythonPackage, fetchPypi
2 , redis
3 , python-memcached
4 , msgpack
5 }:
7 buildPythonPackage rec {
8   pname = "cachy";
9   version = "0.3.0";
11   src = fetchPypi {
12     inherit pname version;
13     sha256 = "186581f4ceb42a0bbe040c407da73c14092379b1e4c0e327fdb72ae4a9b269b1";
14   };
16   propagatedBuildInputs = [
17     redis
18     python-memcached
19     msgpack
20   ];
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;
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   };