##// END OF EJS Templates
nix: fix dogpile imports
marcink -
r985:788d6820 python3
parent child Browse files
Show More
@@ -21,6 +21,18 b' self: super: {'
21 21 ];
22 22 });
23 23
24 "dogpile.cache" = super."dogpile.cache".override (attrs: {
25 # dogpile wants to be both a regular module and namespace package
26 postPatch = ''
27 rm dogpile/core.py
28 substituteInPlace dogpile/cache/__init__.py \
29 --replace "from .. import __version__" "__version__ = '0.9.0'"
30 substituteInPlace dogpile/cache/region.py \
31 --replace "from . " "from dogpile.cache " \
32 --replace "from .. " "from dogpile.lock "
33 '';
34 });
35
24 36 "gevent" = super."gevent".override (attrs: {
25 37 propagatedBuildInputs = with self; attrs.propagatedBuildInputs ++ [
26 38 # NOTE: (marcink) odd requirements from gevent aren't set properly,
@@ -43,7 +55,7 b' self: super: {'
43 55 pkgs.apr.dev
44 56 pkgs.aprutil
45 57 ];
46 buildInputs = with self; [
58 buildInputs = with self; attrs.buildInputs ++ [
47 59 pkgs.subversion
48 60 ];
49 61 });
General Comments 0
You need to be logged in to leave comments. Login now