git.iko.soy/typeable/nixpkgs
on master help sign in
pythonPackages.cachy: init at 0.2.0
commita9ced39e88335b7318b2297cacf61e88508365e5 authorJake Waksbaum <jake.waksbaum@gmail.com> dateMon 7 Jan 2019, 17:27 (8 years ago) parent9f6a76b
2 files changed+35
pkgs/development/python-modules/cachy/default.nix+33 pkgs/top-level/python-packages.nix+2
pkgs/development/python-modules/cachy/default.nixnew file+33
@@ -0,0 +1,33 @@
1+{ lib, buildPythonPackage, fetchPypi
2+, redis
3+, memcached
4+, msgpack-python
5+}:
6+
7+buildPythonPackage 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+}
pkgs/top-level/python-packages.nix+2
@@ -286,6 +286,8 @@ in {
286286
287287 cachecontrol = callPackage ../development/python-modules/cachecontrol { };
288288
289+ cachy = callPackage ../development/python-modules/cachy { };
290+
289291 cdecimal = callPackage ../development/python-modules/cdecimal { };
290292
291293 chalice = callPackage ../development/python-modules/chalice { };