##// END OF EJS Templates
py3: packaging changes to build python37 packages, and make pip2nix work.
marcink -
r981:55389aab python3
parent child Browse files
Show More
@@ -1,220 +1,211 b''
1 1 # Nix environment for the community edition
2 2 #
3 3 # This shall be as lean as possible, just producing the rhodecode-vcsserver
4 4 # derivation. For advanced tweaks to pimp up the development environment we use
5 5 # "shell.nix" so that it does not have to clutter this file.
6 6
7 7 args@
8 8 { system ? builtins.currentSystem
9 , pythonPackages ? "python27Packages"
9 , pythonPackages ? "python37Packages"
10 10 , pythonExternalOverrides ? self: super: {}
11 11 , doCheck ? false
12 12 , ...
13 13 }:
14 14
15 15 let
16 16 pkgs_ = args.pkgs or (import <nixpkgs> { inherit system; });
17 17 in
18 18
19 19 let
20 20 pkgs = import <nixpkgs> {
21 21 overlays = [
22 22 (import ./pkgs/overlays.nix)
23 23 ];
24 24 inherit
25 25 (pkgs_)
26 26 system;
27 27 };
28 28
29 # Works with the new python-packages, still can fallback to the old
30 # variant.
31 basePythonPackagesUnfix = basePythonPackages.__unfix__ or (
32 self: basePythonPackages.override (a: { inherit self; }));
33
34 29 # Evaluates to the last segment of a file system path.
35 30 basename = path: with pkgs.lib; last (splitString "/" path);
36 31 startsWith = prefix: full: let
37 32 actualPrefix = builtins.substring 0 (builtins.stringLength prefix) full;
38 33 in actualPrefix == prefix;
39 34
40 35 # source code filter used as arugment to builtins.filterSource.
41 36 src-filter = path: type: with pkgs.lib;
42 37 let
43 38 ext = last (splitString "." path);
44 39 parts = last (splitString "/" path);
45 40 in
46 41 !builtins.elem (basename path) [
47 42 ".git" ".hg" "__pycache__" ".eggs" ".idea" ".dev"
48 43 "node_modules" "node_binaries"
49 44 "build" "data" "result" "tmp"] &&
50 45 !builtins.elem ext ["egg-info" "pyc"] &&
51 46 !startsWith "result" (basename path);
52 47
53 48 sources =
54 49 let
55 50 inherit
56 51 (pkgs.lib)
57 52 all
58 53 isString
59 54 attrValues;
60 55
61 56 sourcesConfig = pkgs.config.rc.sources or {};
62 57 in
63 58 # Ensure that sources are configured as strings. Using a path
64 59 # would result in a copy into the nix store.
65 60 assert all isString (attrValues sourcesConfig);
66 61 sourcesConfig;
67 62
68 63 rhodecode-vcsserver-src = builtins.filterSource src-filter ./.;
69 64 version = builtins.readFile "${rhodecode-vcsserver-src}/vcsserver/VERSION";
70 65
71 66 pythonLocalOverrides = self: super: {
72 67 rhodecode-vcsserver =
73 68 let
74 69 releaseName = "RhodeCodeVCSServer-${version}";
75 pythonWithEnv =
76 self.python.buildEnv.override {
77 extraLibs = [ ] ++ self.rhodecode-vcsserver.propagatedBuildInputs;
78 ignoreCollisions = true;
79 #--set PYTHONHASHSEED random TODO
80 };
81 in super.rhodecode-vcsserver.override (attrs: {
70 in super.rhodecode-vcsserver.overridePythonAttrs (attrs: {
82 71 inherit
83 72 doCheck
84 73 version;
85 74
86 75 name = "rhodecode-vcsserver-${version}";
87 76 releaseName = releaseName;
88 77 src = rhodecode-vcsserver-src;
89 78 dontStrip = true; # prevent strip, we don't need it.
90 79
91 # expose following attributed outside
92 passthru = {
93 pythonPackages = self;
94 vcs_pkgs = pkgs;
95 };
96
97 80 buildInputs =
98 81 attrs.buildInputs or [] ++ [
99 82
100 83 ];
101 84
102 85 #NOTE: option to inject additional propagatedBuildInputs
103 86 propagatedBuildInputs =
104 87 attrs.propagatedBuildInputs or [] ++ [
105 88 pkgs.git
106 89 pkgs.subversion
107 90 ];
108 91
109 92 preBuild = ''
110 93 export NIX_PATH=nixpkgs=${pkgs.path}
111 94 export SSL_CERT_FILE=${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt
112 95 '';
113 96
114 97 # Add bin directory to path so that tests can find 'vcsserver'.
115 98 preCheck = ''
116 99 echo "Expanding PATH with $out/bin directory"
117 100 export PATH="$out/bin:$PATH"
118 101 '';
119 102
120 103 # custom check phase for testing
121 104 checkPhase = ''
122 105 runHook preCheck
123 PYTHONHASHSEED=random py.test -vv -p no:sugar -r xw --cov-config=.coveragerc --cov=vcsserver --cov-report=term-missing vcsserver
106 PYTHONHASHSEED=$RANDOM py.test -vv -p no:sugar -r xw --cov-config=.coveragerc --cov=vcsserver --cov-report=term-missing vcsserver
124 107 runHook postCheck
125 108 '';
126 109
127 110 postCheck = ''
128 111 echo "Cleanup of vcsserver/tests"
129 112 rm -rf $out/lib/${self.python.libPrefix}/site-packages/vcsserver/tests
130 113 '';
131 114
132 115 postInstall = ''
133 116 echo "Writing vcsserver meta information for rccontrol to nix-support/rccontrol"
134 117 mkdir -p $out/nix-support/rccontrol
135 118 cp -v vcsserver/VERSION $out/nix-support/rccontrol/version
136 119 echo "DONE: vcsserver meta information for rccontrol written"
137 120
138 121 mkdir -p $out/etc
139 122 cp configs/production.ini $out/etc
140 123 echo "DONE: saved vcsserver production.ini into $out/etc"
141 124
142 125 echo "saving env in $out/etc/env_vars.txt"
143 126 touch $out/etc/env_vars.txt
144 127 echo "# RhodeCode build env vars" >> $out/etc/env_vars.txt
145 128 echo "LOCALE_ARCHIVE=\"${pkgs.glibcLocales}/lib/locale/locale-archive\"" >> $out/etc/env_vars.txt
146 129 echo "LC_ALL=\"en_US.UTF-8\"" >> $out/etc/env_vars.txt
147 130
148 # python based programs need to be wrapped
149 mkdir -p $out/bin
150
151 # expose python
152 ln -s ${pythonWithEnv}/bin/python $out/bin/
153
154 # required binaries from dependencies
155 ln -s ${pythonWithEnv}/bin/gunicorn $out/bin/
156 ln -s ${pythonWithEnv}/bin/prequest $out/bin/
157 ln -s ${pythonWithEnv}/bin/pserve $out/bin/
158
159 # Symlink version control utilities
160 # We ensure that always the correct version is available as a symlink.
161 # So that users calling them via the profile path will always use the
162 # correct version. Wrapping is required so those can "import"
163 # vcsserver python hooks.
164 ln -s ${pkgs.git}/bin/git $out/bin
165 ln -s ${self.mercurial}/bin/hg $out/bin
166 ln -s ${pkgs.subversion}/bin/svn* $out/bin
167
168 echo "[DONE ]: created symlinks into $out/bin"
169 DEPS="$out/bin/hg \
170 $out/bin/git \
171 $out/bin/svn \
172 $out/bin/svnserve \
173 $out/bin/svnadmin
174 "
175
176 # wrap only dependency scripts, they require to have full PYTHONPATH set
177 # to be able to import all packages
178 for file in $DEPS;
179 do
180 wrapProgram $file \
181 --prefix PATH : $PATH \
182 --prefix PYTHONPATH : $PYTHONPATH
183 done
184
185 echo "[DONE ]: vcsserver binary wrapping"
186
187 131 # expose sources of vcsserver
188 132 ln -s $out $out/etc/rhodecode_vcsserver_source
189 133 '';
190 134
191 135 });
192 136 };
193 137
194
195 138 basePythonPackages = with builtins;
196 139 if isAttrs pythonPackages then
197 140 pythonPackages
198 141 else
199 142 getAttr pythonPackages pkgs;
200 143
201 144 pythonGeneratedPackages = import ./pkgs/python-packages.nix {
202 145 inherit pkgs;
203 146 inherit (pkgs) fetchurl fetchgit fetchhg;
204 147 };
205 148
206 149 pythonVCSServerOverrides = import ./pkgs/python-packages-overrides.nix {
207 150 inherit pkgs basePythonPackages;
208 151 };
209 152
210 # Apply all overrides and fix the final package set
211 myPythonPackagesUnfix = with pkgs.lib;
212 (extends pythonExternalOverrides
213 (extends pythonLocalOverrides
214 (extends pythonVCSServerOverrides
215 (extends pythonGeneratedPackages
216 basePythonPackagesUnfix))));
153 # Apply all overrides and fix the vcsserver package set
154 targetPython = basePythonPackages.python.override {
155 packageOverrides = self: super: with pkgs.lib;
156 (extends pythonExternalOverrides
157 (extends pythonLocalOverrides
158 (extends pythonVCSServerOverrides
159 (extends pythonGeneratedPackages
160 (self: super))))) self;
161 };
162
163 # Python env with rhodecode-vcsserver
164 pythonEnv = (targetPython.withPackages(ps: with ps; [rhodecode-vcsserver]));
217 165
218 myPythonPackages = (pkgs.lib.fix myPythonPackagesUnfix);
166 # Generic env with wrapped binaries
167 vcsserver = pkgs.buildEnv {
168 name = if ! isNull targetPython.pkgs.rhodecode-vcsserver
169 then "vcsserver-${targetPython.pkgs.rhodecode-vcsserver.version}"
170 else "vcsserver";
171 paths = [
172 pythonEnv
173 # Symlink version control utilities
174 # We ensure that always the correct version is available as a symlink.
175 # So that users calling them via the profile path will always use the
176 # correct version. Wrapping is required so those can "import"
177 # vcsserver python hooks.
178 pkgs.git
179 pkgs.subversion
180 ];
181 # expose following attributed outside
182 passthru = {
183 pythonPackages = targetPython.pkgs;
184 vcs_pkgs = pkgs;
185 };
186 buildInputs = [
187 pkgs.makeWrapper
188 ];
189 postBuild = (if ! isNull targetPython.pkgs.rhodecode-vcsserver then ''
190 echo "Writing vcsserver meta information for rccontrol to nix-support/rccontrol"
191 ln -s ${targetPython.pkgs.rhodecode-vcsserver}/nix-support $out/nix-support
192 echo "DONE: vcsserver meta information for rccontrol written"
193 '' else "") + ''
194 DEPS="$out/bin/*"
195 # wrap only dependency scripts, they require to have full PYTHONPATH set
196 # to be able to import all packages
197 for file in $DEPS;
198 do
199 wrapProgram $file \
200 --prefix PATH : ${pkgs.git}/bin \
201 --prefix PATH : ${pkgs.subversion}/bin \
202 --prefix PATH : ${pythonEnv}/bin \
203 --prefix PYTHONPATH : ${pythonEnv}/${pythonEnv.sitePackages} \
204 --prefix PYTHONPATH : ${pkgs.subversion}/${pythonEnv.sitePackages} \
205 --set PYTHONHASHSEED $RANDOM
206 done
207 echo "DONE: vcsserver binary wrapping"
208 '';
209 };
219 210
220 in myPythonPackages.rhodecode-vcsserver
211 in vcsserver
@@ -1,25 +1,29 b''
1 1 { pkgs
2 2 , pythonPackages
3 3 }:
4 4
5 5 rec {
6 6 pip2nix-src = pkgs.fetchzip {
7 7 url = https://code.rhodecode.com/upstream/pip2nix/artifacts/download/0-007f541a-7294-4a4c-9b52-ba102ce265f1.tar.gz;
8 8 sha256 = "02747glj0v6pdj0ylcwnrvp38ig8ramvipn9z3la9gknx6rhxrh6";
9 9 };
10 10
11 11 pip2nix = import pip2nix-src {
12 12 inherit
13 13 pkgs
14 14 pythonPackages;
15 15 };
16 16
17 flit = pythonPackages.flit;
18
19 cython = pythonPackages.pip-tools;
20
17 21 pip-tools = pythonPackages.pip-tools;
18 22
19 23 setuptools = pythonPackages.setuptools;
20 24
21 25 wheel = pythonPackages.wheel;
22 26
23 27 pip = pythonPackages.pip;
24 28
25 29 }
@@ -1,71 +1,71 b''
1 1 self: super: {
2 2
3 3 # change GIT version
4 4 # latest supported are in: https://github.com/NixOS/nixpkgs/tree/master/pkgs/applications/version-management/git-and-tools/git
5 5 git = super.lib.overrideDerivation super.git (oldAttrs: {
6 6 name = "git-2.25.3";
7 7 src = self.fetchurl {
8 8 url = "https://www.kernel.org/pub/software/scm/git/git-2.25.3.tar.xz";
9 9 sha256 = "0yvr97cl0dvj3fwblq1mb0cp97v8hrn9l98p8b1jx8815mbsnz9h";
10 10 };
11 11
12 12 # patches come from: https://github.com/NixOS/nixpkgs/tree/master/pkgs/applications/version-management/git-and-tools/git
13 13 patches = [
14 14 ./patches/git/docbook2texi.patch
15 15 ./patches/git/git-sh-i18n.patch
16 16 ./patches/git/ssh-path.patch
17 17 ./patches/git/git-send-email-honor-PATH.patch
18 18 ./patches/git/installCheck-path.patch
19 19 ];
20 20
21 21 });
22 22
23 23 libgit2rc = super.lib.overrideDerivation super.libgit2 (oldAttrs: {
24 24 name = "libgit2-0.28.2";
25 25 version = "0.28.2";
26 26
27 27 src = self.fetchFromGitHub {
28 28 owner = "libgit2";
29 29 repo = "libgit2";
30 30 rev = "v0.28.2";
31 31 sha256 = "0cm8fvs05rj0baigs2133q5a0sm3pa234y8h6hmwhl2bz9xq3k4b";
32 32 };
33 33
34 34 cmakeFlags = [ "-DTHREADSAFE=ON" "-DUSE_HTTPS=no"];
35 35
36 36 buildInputs = [
37 37 super.zlib
38 38 super.libssh2
39 39 super.openssl
40 40 super.curl
41 41 ];
42 42
43 43
44 44 });
45 45
46 46 # Override subversion derivation to
47 47 # - activate python bindings
48 48 subversion =
49 49 let
50 50 subversionWithPython = super.subversion.override {
51 51 httpSupport = true;
52 52 pythonBindings = true;
53 python = self.python27Packages.python;
53 python = self.python37Packages.python;
54 54 };
55 55 in
56 56 super.lib.overrideDerivation subversionWithPython (oldAttrs: {
57 57 name = "subversion-1.13.0";
58 58 src = self.fetchurl {
59 59 url = "https://archive.apache.org/dist/subversion/subversion-1.13.0.tar.gz";
60 60 sha256 = "0cb9p7f5hg0l4k32hz8vmvy2r45igchq5sh4m366za5q0c649bfs";
61 61 };
62 62
63 63 ## use internal lz4/utf8proc because it is stable and shipped with SVN
64 64 configureFlags = oldAttrs.configureFlags ++ [
65 65 " --with-lz4=internal"
66 66 " --with-utf8proc=internal"
67 67 ];
68 68
69 69 });
70 70
71 71 }
@@ -1,83 +1,99 b''
1 1 # Overrides for the generated python-packages.nix
2 2 #
3 3 # This function is intended to be used as an extension to the generated file
4 4 # python-packages.nix. The main objective is to add needed dependencies of C
5 5 # libraries and tweak the build instructions where needed.
6 6
7 7 { pkgs
8 8 , basePythonPackages
9 9 }:
10 10
11 11 let
12 12 sed = "sed -i";
13 13
14 14 in
15 15
16 16 self: super: {
17 17
18 18 "cffi" = super."cffi".override (attrs: {
19 19 buildInputs = with self; attrs.buildInputs ++ [
20 20 pkgs.libffi
21 21 ];
22 22 });
23 23
24 24 "gevent" = super."gevent".override (attrs: {
25 25 propagatedBuildInputs = with self; attrs.propagatedBuildInputs ++ [
26 26 # NOTE: (marcink) odd requirements from gevent aren't set properly,
27 27 # thus we need to inject psutil manually
28 28 self."psutil"
29 29 ];
30 30 });
31 31
32 32 "hgsubversion" = super."hgsubversion".override (attrs: {
33 33 propagatedBuildInputs = attrs.propagatedBuildInputs ++ [
34 34 pkgs.sqlite
35 35 #basePythonPackages.sqlite3
36 36 self.mercurial
37 37 ];
38 38 });
39 39
40 40 "subvertpy" = super."subvertpy".override (attrs: {
41 41 SVN_PREFIX = "${pkgs.subversion.dev}";
42 42 nativeBuildInputs = with self; attrs.nativeBuildInputs ++ [
43 43 pkgs.apr.dev
44 44 pkgs.aprutil
45 45 ];
46 46 buildInputs = with self; [
47 47 pkgs.subversion
48 48 ];
49 49 });
50 50
51 51 "mercurial" = super."mercurial".override (attrs: {
52 52 nativeBuildInputs = with self; attrs.nativeBuildInputs ++ [
53 53 # self.python.modules.curses
54 54 ];
55 postInstall = ''
56 rm -f $out/${self.python.sitePackages}/hgext3rd/__pycache__/__init__.*.pyc
57 '';
58 });
59
60 "hg-evolve" = super."hg-evolve".override (attrs: {
61 postInstall = ''
62 rm -f $out/${self.python.sitePackages}/hgext3rd/__init__.py
63 rm -f $out/${self.python.sitePackages}/hgext3rd/__init__.pyc
64 '';
55 65 });
56 66
57 67 "dulwich" = super."dulwich".override (attrs: {
58 68 patches = [
59 69 ./patches/dulwich/handle-dir-refs.patch
60 70 ];
61 71 });
62 72
63 73 "pygit2" = super."pygit2".override (attrs: {
64 74 nativeBuildInputs = with self; attrs.nativeBuildInputs ++ [
65 75 pkgs.libffi
66 76 pkgs.libgit2rc
67 77 ];
68 78 buildInputs = with self; attrs.buildInputs ++ [
69 79 pkgs.libgit2rc
70 80 ];
71 81 });
72 82
73 83 "py" = super."py".override (attrs: {
74 84 buildInputs = with self; attrs.buildInputs ++ [
75 85 self."setuptools-scm"
76 86 ];
77 87 });
78 88
89 "zipp" = super."zipp".override (attrs: {
90 buildInputs = with self; attrs.buildInputs ++ [
91 self."toml"
92 ];
93 });
94
79 95 # Avoid that base packages screw up the build process
80 96 inherit (basePythonPackages)
81 97 setuptools;
82 98
83 99 }
@@ -1,1535 +1,1209 b''
1 1 # Generated by pip2nix 0.9.0
2 2 # See https://github.com/nix-community/pip2nix
3 3
4 4 { pkgs, fetchurl, fetchgit, fetchhg }:
5 5
6 6 self: super: {
7 7 "atomicwrites" = super.buildPythonPackage rec {
8 8 pname = "atomicwrites";
9 9 version = "1.4.0";
10 10 src = fetchurl {
11 11 url = "https://files.pythonhosted.org/packages/55/8d/74a75635f2c3c914ab5b3850112fd4b0c8039975ecb320e4449aa363ba54/atomicwrites-1.4.0.tar.gz";
12 12 sha256 = "0yla2svfhfqrcj8qbyqzx7wi4jy0dwcxvlkg0k3zjd54s5m3jw5f";
13 13 };
14 14 format = "setuptools";
15 15 doCheck = false;
16 16 buildInputs = [];
17 17 checkInputs = [];
18 18 nativeBuildInputs = [];
19 19 propagatedBuildInputs = [];
20 20 meta = {
21 21 license = [ pkgs.lib.licenses.mit ];
22 22 };
23 23 };
24 24 "attrs" = super.buildPythonPackage rec {
25 25 pname = "attrs";
26 26 version = "19.3.0";
27 27 src = fetchurl {
28 28 url = "https://files.pythonhosted.org/packages/98/c3/2c227e66b5e896e15ccdae2e00bbc69aa46e9a8ce8869cc5fa96310bf612/attrs-19.3.0.tar.gz";
29 29 sha256 = "0wky4h28n7xnr6xv69p9z6kv8bzn50d10c3drmd9ds8gawbcxdzp";
30 30 };
31 31 format = "setuptools";
32 32 doCheck = false;
33 33 buildInputs = [];
34 34 checkInputs = [];
35 35 nativeBuildInputs = [
36 36 self."setuptools"
37 37 self."wheel"
38 38 ];
39 39 propagatedBuildInputs = [];
40 40 meta = {
41 41 license = [ pkgs.lib.licenses.mit ];
42 42 };
43 43 };
44 "backports.shutil-get-terminal-size" = super.buildPythonPackage rec {
45 pname = "backports.shutil-get-terminal-size";
46 version = "1.0.0";
47 src = fetchurl {
48 url = "https://files.pythonhosted.org/packages/ec/9c/368086faa9c016efce5da3e0e13ba392c9db79e3ab740b763fe28620b18b/backports.shutil_get_terminal_size-1.0.0.tar.gz";
49 sha256 = "107cmn7g3jnbkp826zlj8rrj19fam301qvaqf0f3905f5217lgki";
50 };
51 format = "setuptools";
52 doCheck = false;
53 buildInputs = [];
54 checkInputs = [];
55 nativeBuildInputs = [];
56 propagatedBuildInputs = [];
57 meta = {
58 license = [ pkgs.lib.licenses.mit ];
59 };
60 };
61 44 "beautifulsoup4" = super.buildPythonPackage rec {
62 45 pname = "beautifulsoup4";
63 46 version = "4.6.3";
64 47 src = fetchurl {
65 48 url = "https://files.pythonhosted.org/packages/88/df/86bffad6309f74f3ff85ea69344a078fc30003270c8df6894fca7a3c72ff/beautifulsoup4-4.6.3.tar.gz";
66 49 sha256 = "041dhalzjciw6qyzzq7a2k4h1yvyk76xigp35hv5ibnn448ydy4h";
67 50 };
68 51 format = "setuptools";
69 52 doCheck = false;
70 53 buildInputs = [];
71 54 checkInputs = [];
72 55 nativeBuildInputs = [];
73 56 propagatedBuildInputs = [];
74 57 meta = {
75 58 license = [ pkgs.lib.licenses.mit ];
76 59 };
77 60 };
78 61 "cffi" = super.buildPythonPackage rec {
79 62 pname = "cffi";
80 version = "1.12.3";
63 version = "1.14.0";
81 64 src = fetchurl {
82 url = "https://files.pythonhosted.org/packages/93/1a/ab8c62b5838722f29f3daffcc8d4bd61844aa9b5f437341cc890ceee483b/cffi-1.12.3.tar.gz";
83 sha256 = "0x075521fxwv0mfp4cqzk7lvmw4n94bjw601qkcv314z5s182704";
65 url = "https://files.pythonhosted.org/packages/05/54/3324b0c46340c31b909fcec598696aaec7ddc8c18a63f2db352562d3354c/cffi-1.14.0.tar.gz";
66 sha256 = "1dn279gw5ql8i5n3s5v4rnv96rhhjjfn7xq729qbl5bs2954yf1d";
84 67 };
85 68 format = "setuptools";
86 69 doCheck = false;
87 70 buildInputs = [];
88 71 checkInputs = [];
89 72 nativeBuildInputs = [];
90 73 propagatedBuildInputs = [
91 74 self."pycparser"
92 75 ];
93 76 meta = {
94 77 license = [ pkgs.lib.licenses.mit ];
95 78 };
96 79 };
97 80 "configobj" = super.buildPythonPackage rec {
98 81 pname = "configobj";
99 82 version = "5.0.6";
100 83 src = fetchurl {
101 84 url = "https://code.rhodecode.com/upstream/configobj/artifacts/download/0-012de99a-b1e1-4f64-a5c0-07a98a41b324.tar.gz?md5=6a513f51fe04b2c18cf84c1395a7c626";
102 85 sha256 = "0kqfrdfr14mw8yd8qwq14dv2xghpkjmd3yjsy8dfcbvpcc17xnxp";
103 86 };
104 87 format = "setuptools";
105 88 doCheck = false;
106 89 buildInputs = [];
107 90 checkInputs = [];
108 91 nativeBuildInputs = [];
109 92 propagatedBuildInputs = [
110 93 self."six"
111 94 ];
112 95 meta = {
113 96 license = [ pkgs.lib.licenses.bsdOriginal ];
114 97 };
115 98 };
116 "configparser" = super.buildPythonPackage rec {
117 pname = "configparser";
118 version = "4.0.2";
119 src = fetchurl {
120 url = "https://files.pythonhosted.org/packages/16/4f/48975536bd488d3a272549eb795ac4a13a5f7fcdc8995def77fbef3532ee/configparser-4.0.2.tar.gz";
121 sha256 = "1priacxym85yjcf68hh38w55nqswaxp71ryjyfdk222kg9l85ln7";
122 };
123 format = "setuptools";
124 doCheck = false;
125 buildInputs = [];
126 checkInputs = [];
127 nativeBuildInputs = [
128 self."setuptools"
129 self."wheel"
130 self."setuptools-scm"
131 ];
132 propagatedBuildInputs = [];
133 meta = {
134 license = [ pkgs.lib.licenses.mit ];
135 };
136 };
137 99 "contextlib2" = super.buildPythonPackage rec {
138 100 pname = "contextlib2";
139 101 version = "0.6.0.post1";
140 102 src = fetchurl {
141 103 url = "https://files.pythonhosted.org/packages/02/54/669207eb72e3d8ae8b38aa1f0703ee87a0e9f88f30d3c0a47bebdb6de242/contextlib2-0.6.0.post1.tar.gz";
142 104 sha256 = "0bhnr2ac7wy5l85ji909gyljyk85n92w8pdvslmrvc8qih4r1x01";
143 105 };
144 106 format = "setuptools";
145 107 doCheck = false;
146 108 buildInputs = [];
147 109 checkInputs = [];
148 110 nativeBuildInputs = [];
149 111 propagatedBuildInputs = [];
150 112 meta = {
151 113 license = [ pkgs.lib.licenses.psfl ];
152 114 };
153 115 };
154 116 "cov-core" = super.buildPythonPackage rec {
155 117 pname = "cov-core";
156 118 version = "1.15.0";
157 119 src = fetchurl {
158 120 url = "https://files.pythonhosted.org/packages/4b/87/13e75a47b4ba1be06f29f6d807ca99638bedc6b57fa491cd3de891ca2923/cov-core-1.15.0.tar.gz";
159 121 sha256 = "0k3np9ymh06yv1ib96sb6wfsxjkqhmik8qfsn119vnhga9ywc52a";
160 122 };
161 123 format = "setuptools";
162 124 doCheck = false;
163 125 buildInputs = [];
164 126 checkInputs = [];
165 127 nativeBuildInputs = [];
166 128 propagatedBuildInputs = [
167 129 self."coverage"
168 130 ];
169 131 meta = {
170 132 license = [ pkgs.lib.licenses.mit ];
171 133 };
172 134 };
173 135 "coverage" = super.buildPythonPackage rec {
174 136 pname = "coverage";
175 137 version = "4.5.4";
176 138 src = fetchurl {
177 139 url = "https://files.pythonhosted.org/packages/85/d5/818d0e603685c4a613d56f065a721013e942088047ff1027a632948bdae6/coverage-4.5.4.tar.gz";
178 140 sha256 = "0p0j4di6h8k6ica7jwwj09azdcg4ycxq60i9qsskmsg94cd9yzg0";
179 141 };
180 142 format = "setuptools";
181 143 doCheck = false;
182 144 buildInputs = [];
183 145 checkInputs = [];
184 146 nativeBuildInputs = [];
185 147 propagatedBuildInputs = [];
186 148 meta = {
187 149 license = [ pkgs.lib.licenses.asl20 ];
188 150 };
189 151 };
190 "cython" = super.buildPythonPackage rec {
191 pname = "cython";
192 version = "0.29.17";
193 src = fetchurl {
194 url = "https://files.pythonhosted.org/packages/99/36/a3dc962cc6d08749aa4b9d85af08b6e354d09c5468a3e0edc610f44c856b/Cython-0.29.17.tar.gz";
195 sha256 = "1wnaz40hdw4mg5acz5gqb6bhjhn4cvfxg0xdzfy7aa6qn665hqb3";
196 };
197 format = "setuptools";
198 doCheck = false;
199 buildInputs = [];
200 checkInputs = [];
201 nativeBuildInputs = [];
202 propagatedBuildInputs = [];
203 meta = {
204 license = [ pkgs.lib.licenses.asl20 { fullName = "Apache"; } ];
205 };
206 };
207 152 "decorator" = super.buildPythonPackage rec {
208 153 pname = "decorator";
209 154 version = "4.1.2";
210 155 src = fetchurl {
211 156 url = "https://files.pythonhosted.org/packages/bb/e0/f6e41e9091e130bf16d4437dabbac3993908e4d6485ecbc985ef1352db94/decorator-4.1.2.tar.gz";
212 157 sha256 = "1d8npb11kxyi36mrvjdpcjij76l5zfyrz2f820brf0l0rcw4vdkw";
213 158 };
214 159 format = "setuptools";
215 160 doCheck = false;
216 161 buildInputs = [];
217 162 checkInputs = [];
218 163 nativeBuildInputs = [];
219 164 propagatedBuildInputs = [];
220 165 meta = {
221 license = [ pkgs.lib.licenses.bsdOriginal { fullName = "new BSD License"; } ];
166 license = [ { fullName = "new BSD License"; } pkgs.lib.licenses.bsdOriginal ];
222 167 };
223 168 };
224 169 "dogpile.cache" = super.buildPythonPackage rec {
225 170 pname = "dogpile.cache";
226 version = "0.9.0";
171 version = "0.9.2";
227 172 src = fetchurl {
228 url = "https://files.pythonhosted.org/packages/ac/6a/9ac405686a94b7f009a20a50070a5786b0e1aedc707b88d40d0c4b51a82e/dogpile.cache-0.9.0.tar.gz";
229 sha256 = "0sr1fn6b4k5bh0cscd9yi8csqxvj4ngzildav58x5p694mc86j5k";
173 url = "https://files.pythonhosted.org/packages/b5/02/9692c82808341747afc87a7c2b701c8eed76c05ec6bc98844c102a537de7/dogpile.cache-0.9.2.tar.gz";
174 sha256 = "17h5bkijp4zj49a9a0dd608r4lq5xxrkgiydzfg1gq2xz8gxx7dw";
230 175 };
231 176 format = "setuptools";
232 177 doCheck = false;
233 178 buildInputs = [];
234 179 checkInputs = [];
235 180 nativeBuildInputs = [];
236 181 propagatedBuildInputs = [
237 182 self."decorator"
238 183 ];
239 184 meta = {
240 license = [ pkgs.lib.licenses.bsdOriginal ];
185 license = [ pkgs.lib.licenses.mit pkgs.lib.licenses.bsdOriginal ];
241 186 };
242 187 };
243 188 "dogpile.core" = super.buildPythonPackage rec {
244 189 pname = "dogpile.core";
245 190 version = "0.4.1";
246 191 src = fetchurl {
247 192 url = "https://files.pythonhosted.org/packages/0e/77/e72abc04c22aedf874301861e5c1e761231c288b5de369c18be8f4b5c9bb/dogpile.core-0.4.1.tar.gz";
248 193 sha256 = "0xpdvg4kr1isfkrh1rfsh7za4q5a5s6l2kf9wpvndbwf3aqjyrdy";
249 194 };
250 195 format = "setuptools";
251 196 doCheck = false;
252 197 buildInputs = [];
253 198 checkInputs = [];
254 199 nativeBuildInputs = [];
255 200 propagatedBuildInputs = [];
256 201 meta = {
257 202 license = [ pkgs.lib.licenses.bsdOriginal ];
258 203 };
259 204 };
260 205 "dulwich" = super.buildPythonPackage rec {
261 206 pname = "dulwich";
262 207 version = "0.13.0";
263 208 src = fetchurl {
264 209 url = "https://files.pythonhosted.org/packages/84/95/732d280eee829dacc954e8109f97b47abcadcca472c2ab013e1635eb4792/dulwich-0.13.0.tar.gz";
265 210 sha256 = "0f1jwvrh549c4rgavkn3wizrch904s73s4fmrxykxy9cw8s57lwf";
266 211 };
267 212 format = "setuptools";
268 213 doCheck = false;
269 214 buildInputs = [];
270 215 checkInputs = [];
271 216 nativeBuildInputs = [];
272 217 propagatedBuildInputs = [];
273 218 meta = {
274 219 license = [ pkgs.lib.licenses.gpl2Plus ];
275 220 };
276 221 };
277 "enum34" = super.buildPythonPackage rec {
278 pname = "enum34";
279 version = "1.1.10";
280 src = fetchurl {
281 url = "https://files.pythonhosted.org/packages/11/c4/2da1f4952ba476677a42f25cd32ab8aaf0e1c0d0e00b89822b835c7e654c/enum34-1.1.10.tar.gz";
282 sha256 = "0j7ji699fwswm4vg6w1v07fkbf8dkzdm6gfh88jvs5nqgr3sgrnc";
283 };
284 format = "setuptools";
285 doCheck = false;
286 buildInputs = [];
287 checkInputs = [];
288 nativeBuildInputs = [];
289 propagatedBuildInputs = [];
290 meta = {
291 license = [ pkgs.lib.licenses.bsdOriginal ];
292 };
293 };
294 "funcsigs" = super.buildPythonPackage rec {
295 pname = "funcsigs";
296 version = "1.0.2";
297 src = fetchurl {
298 url = "https://files.pythonhosted.org/packages/94/4a/db842e7a0545de1cdb0439bb80e6e42dfe82aaeaadd4072f2263a4fbed23/funcsigs-1.0.2.tar.gz";
299 sha256 = "0l4g5818ffyfmfs1a924811azhjj8ax9xd1cffr1mzd3ycn0zfx7";
300 };
301 format = "setuptools";
302 doCheck = false;
303 buildInputs = [];
304 checkInputs = [];
305 nativeBuildInputs = [];
306 propagatedBuildInputs = [];
307 meta = {
308 license = [ { fullName = "ASL"; } pkgs.lib.licenses.asl20 ];
309 };
310 };
311 "gevent" = super.buildPythonPackage rec {
312 pname = "gevent";
313 version = "1.5.0";
314 src = fetchurl {
315 url = "https://files.pythonhosted.org/packages/5a/79/2c63d385d017b5dd7d70983a463dfd25befae70c824fedb857df6e72eff2/gevent-1.5.0.tar.gz";
316 sha256 = "0aac3d4vhv5n4rsb6cqzq0d1xx9immqz4fmpddw35yxkwdc450dj";
317 };
318 format = "setuptools";
319 doCheck = false;
320 buildInputs = [];
321 checkInputs = [];
322 nativeBuildInputs = [
323 self."setuptools"
324 self."wheel"
325 self."cython"
326 self."cffi"
327 self."greenlet"
328 ];
329 propagatedBuildInputs = [
330 self."greenlet"
331 ];
332 meta = {
333 license = [ pkgs.lib.licenses.mit ];
334 };
335 };
336 222 "gprof2dot" = super.buildPythonPackage rec {
337 223 pname = "gprof2dot";
338 224 version = "2017.9.19";
339 225 src = fetchurl {
340 226 url = "https://files.pythonhosted.org/packages/9d/36/f977122502979f3dfb50704979c9ed70e6b620787942b089bf1af15f5aba/gprof2dot-2017.9.19.tar.gz";
341 227 sha256 = "17ih23ld2nzgc3xwgbay911l6lh96jp1zshmskm17n1gg2i7mg6f";
342 228 };
343 229 format = "setuptools";
344 230 doCheck = false;
345 231 buildInputs = [];
346 232 checkInputs = [];
347 233 nativeBuildInputs = [];
348 234 propagatedBuildInputs = [];
349 235 meta = {
350 license = [ { fullName = "GNU Lesser General Public License v3 or later (LGPLv3+)"; } { fullName = "LGPL"; } ];
236 license = [ { fullName = "LGPL"; } { fullName = "GNU Lesser General Public License v3 or later (LGPLv3+)"; } ];
351 237 };
352 238 };
353 "greenlet" = super.buildPythonPackage rec {
354 pname = "greenlet";
355 version = "0.4.15";
239 "gunicorn" = super.buildPythonPackage rec {
240 pname = "gunicorn";
241 version = "20.0.4";
356 242 src = fetchurl {
357 url = "https://files.pythonhosted.org/packages/f8/e8/b30ae23b45f69aa3f024b46064c0ac8e5fcb4f22ace0dca8d6f9c8bbe5e7/greenlet-0.4.15.tar.gz";
358 sha256 = "1g4g1wwc472ds89zmqlpyan3fbnzpa8qm48z3z1y6mlk44z485ll";
243 url = "https://files.pythonhosted.org/packages/33/b8/f5fd32e1f46fcfefd7cb5c84dee1cf657ab3540ee92b8a09fc40e4887bf0/gunicorn-20.0.4.tar.gz";
244 sha256 = "09n6fc019bgrvph1s5h1lwhn2avcsprw6ncd203qhra3i8mvn10r";
359 245 };
360 246 format = "setuptools";
361 247 doCheck = false;
362 248 buildInputs = [];
363 249 checkInputs = [];
364 250 nativeBuildInputs = [];
365 propagatedBuildInputs = [];
366 meta = {
367 license = [ pkgs.lib.licenses.mit ];
368 };
369 };
370 "gunicorn" = super.buildPythonPackage rec {
371 pname = "gunicorn";
372 version = "19.9.0";
373 src = fetchurl {
374 url = "https://files.pythonhosted.org/packages/47/52/68ba8e5e8ba251e54006a49441f7ccabca83b6bef5aedacb4890596c7911/gunicorn-19.9.0.tar.gz";
375 sha256 = "1wzlf4xmn6qjirh5w81l6i6kqjnab1n1qqkh7zsj1yb6gh4n49ps";
376 };
377 format = "setuptools";
378 doCheck = false;
379 buildInputs = [];
380 checkInputs = [];
381 nativeBuildInputs = [];
382 propagatedBuildInputs = [];
251 propagatedBuildInputs = [
252 self."setuptools"
253 ];
383 254 meta = {
384 255 license = [ pkgs.lib.licenses.mit ];
385 256 };
386 257 };
387 258 "hg-evolve" = super.buildPythonPackage rec {
388 259 pname = "hg-evolve";
389 version = "9.1.0";
260 version = "10.0.0";
390 261 src = fetchurl {
391 url = "https://files.pythonhosted.org/packages/20/36/5a6655975aa0c663be91098d31a0b24841acad44fe896aa2bdee77c6b883/hg-evolve-9.1.0.tar.gz";
392 sha256 = "1mna81cmzxxn7s2nwz3g1xgdjlcc1axkvfmwg7gjqghwn3pdraps";
262 url = "https://files.pythonhosted.org/packages/b8/81/d86d3b4e6c602074805b086ae7471672d24d7ffa4f68ddb97bf68dd460fd/hg-evolve-10.0.0.tar.gz";
263 sha256 = "03kn1c62y6rb851wjhsaxkrwq223hkc4ij59i85999byyb2hyqad";
393 264 };
394 265 format = "setuptools";
395 266 doCheck = false;
396 267 buildInputs = [];
397 268 checkInputs = [];
398 269 nativeBuildInputs = [];
399 270 propagatedBuildInputs = [];
400 271 meta = {
401 272 license = [ { fullName = "GPLv2+"; } ];
402 273 };
403 274 };
404 275 "hgsubversion" = super.buildPythonPackage rec {
405 276 pname = "hgsubversion";
406 277 version = "1.9.3";
407 278 src = fetchurl {
408 279 url = "https://files.pythonhosted.org/packages/a3/53/6d205e641f3e09abcf1ddaed66e5e4b20da22d0145566d440a02c9e35f0d/hgsubversion-1.9.3.tar.gz";
409 280 sha256 = "0nymcjlch8c4zjbncrs30p2nrbylsf25g3h6mr0zzzxr141h3sig";
410 281 };
411 282 format = "setuptools";
412 283 doCheck = false;
413 284 buildInputs = [];
414 285 checkInputs = [];
415 286 nativeBuildInputs = [];
416 287 propagatedBuildInputs = [
417 288 self."mercurial"
418 289 self."subvertpy"
419 290 ];
420 291 meta = {
421 292 license = [ pkgs.lib.licenses.gpl1 ];
422 293 };
423 294 };
424 295 "hupper" = super.buildPythonPackage rec {
425 296 pname = "hupper";
426 297 version = "1.10.2";
427 298 src = fetchurl {
428 299 url = "https://files.pythonhosted.org/packages/41/24/ea90fef04706e54bd1635c05c50dc9cf87cda543c59303a03e7aa7dda0ce/hupper-1.10.2.tar.gz";
429 300 sha256 = "0am0p6g5cz6xmcaf04xq8q6dzdd9qz0phj6gcmpsckf2mcyza61q";
430 301 };
431 302 format = "setuptools";
432 303 doCheck = false;
433 304 buildInputs = [];
434 305 checkInputs = [];
435 306 nativeBuildInputs = [
436 307 self."setuptools"
437 308 self."wheel"
438 309 ];
439 310 propagatedBuildInputs = [];
440 311 meta = {
441 312 license = [ pkgs.lib.licenses.mit ];
442 313 };
443 314 };
444 315 "importlib-metadata" = super.buildPythonPackage rec {
445 316 pname = "importlib-metadata";
446 version = "1.6.0";
317 version = "1.6.1";
447 318 src = fetchurl {
448 url = "https://files.pythonhosted.org/packages/b4/1b/baab42e3cd64c9d5caac25a9d6c054f8324cdc38975a44d600569f1f7158/importlib_metadata-1.6.0.tar.gz";
449 sha256 = "07icyggasn38yv2swdrd8z6i0plazmc9adavsdkbqqj91j53ll9l";
319 url = "https://files.pythonhosted.org/packages/aa/9a/8483b77e2decd95963d7e34bc9bc91a26e71fd89b57d8cf978ca24747c7f/importlib_metadata-1.6.1.tar.gz";
320 sha256 = "0if5fp7wgr7gdrm47dw1v9bpfvb74zchljm7ac7w1zlc0q4ds185";
450 321 };
451 322 format = "setuptools";
452 323 doCheck = false;
453 324 buildInputs = [];
454 325 checkInputs = [];
455 326 nativeBuildInputs = [
456 327 self."setuptools"
457 328 self."wheel"
458 329 self."setuptools-scm"
459 330 ];
460 331 propagatedBuildInputs = [
461 self."configparser"
462 self."contextlib2"
463 self."pathlib2"
464 332 self."zipp"
465 333 ];
466 334 meta = {
467 335 license = [ pkgs.lib.licenses.asl20 ];
468 336 };
469 337 };
470 "ipdb" = super.buildPythonPackage rec {
471 pname = "ipdb";
472 version = "0.13.2";
473 src = fetchurl {
474 url = "https://files.pythonhosted.org/packages/2c/bb/a3e1a441719ebd75c6dac8170d3ddba884b7ee8a5c0f9aefa7297386627a/ipdb-0.13.2.tar.gz";
475 sha256 = "0jcd849rx30y3wcgzsqbn06v0yjlzvb9x3076q0yxpycdwm1ryvp";
476 };
477 format = "setuptools";
478 doCheck = false;
479 buildInputs = [];
480 checkInputs = [];
481 nativeBuildInputs = [];
482 propagatedBuildInputs = [
483 self."ipython"
484 self."setuptools"
485 ];
486 meta = {
487 license = [ pkgs.lib.licenses.bsdOriginal ];
488 };
489 };
490 "ipython" = super.buildPythonPackage rec {
491 pname = "ipython";
492 version = "5.10.0";
338 "mercurial" = super.buildPythonPackage rec {
339 pname = "mercurial";
340 version = "5.4.1";
493 341 src = fetchurl {
494 url = "https://files.pythonhosted.org/packages/b6/73/c8f68b3a7d0deece3d2f7ab727fbf262bfca7475330b44043a5503b3aa7a/ipython-5.10.0.tar.gz";
495 sha256 = "1vjgfayfsjkwsccizpmr8gfg6p1sr9513bxnyzg0v45h5g8f5yfi";
496 };
497 format = "setuptools";
498 doCheck = false;
499 buildInputs = [];
500 checkInputs = [];
501 nativeBuildInputs = [];
502 propagatedBuildInputs = [
503 self."backports.shutil-get-terminal-size"
504 self."decorator"
505 self."pathlib2"
506 self."pexpect"
507 self."pickleshare"
508 self."prompt-toolkit"
509 self."pygments"
510 self."setuptools"
511 self."simplegeneric"
512 self."traitlets"
513 ];
514 meta = {
515 license = [ pkgs.lib.licenses.bsdOriginal ];
516 };
517 };
518 "ipython-genutils" = super.buildPythonPackage rec {
519 pname = "ipython-genutils";
520 version = "0.2.0";
521 src = fetchurl {
522 url = "https://files.pythonhosted.org/packages/e8/69/fbeffffc05236398ebfcfb512b6d2511c622871dca1746361006da310399/ipython_genutils-0.2.0.tar.gz";
523 sha256 = "1a4bc9y8hnvq6cp08qs4mckgm6i6ajpndp4g496rvvzcfmp12bpb";
342 url = "https://files.pythonhosted.org/packages/83/54/d81317f98f31f05026dd4255828e04a1c4a2e1c4e8d7291e0b5b51d99b07/mercurial-5.4.1.tar.gz";
343 sha256 = "1ilam0dz121nn4852jgkgyzyrvk3hn5cqnivy8gk1qg815mh4763";
524 344 };
525 345 format = "setuptools";
526 346 doCheck = false;
527 347 buildInputs = [];
528 348 checkInputs = [];
529 349 nativeBuildInputs = [];
530 350 propagatedBuildInputs = [];
531 351 meta = {
532 license = [ pkgs.lib.licenses.bsdOriginal ];
533 };
534 };
535 "mercurial" = super.buildPythonPackage rec {
536 pname = "mercurial";
537 version = "5.1.1";
538 src = fetchurl {
539 url = "https://files.pythonhosted.org/packages/22/39/e1a95f6048aa0785b82f5faad8281ae7320894a635cb4a57e19479639c92/mercurial-5.1.1.tar.gz";
540 sha256 = "17z42rfjdkrks4grzgac66nfh285zf1pwxd2zwx1p71pw2jqpz1m";
541 };
542 format = "setuptools";
543 doCheck = false;
544 buildInputs = [];
545 checkInputs = [];
546 nativeBuildInputs = [];
547 propagatedBuildInputs = [];
548 meta = {
549 license = [ pkgs.lib.licenses.gpl1 pkgs.lib.licenses.gpl2Plus ];
352 license = [ pkgs.lib.licenses.gpl2Plus pkgs.lib.licenses.gpl1 ];
550 353 };
551 354 };
552 355 "mock" = super.buildPythonPackage rec {
553 356 pname = "mock";
554 357 version = "3.0.5";
555 358 src = fetchurl {
556 359 url = "https://files.pythonhosted.org/packages/2e/ab/4fe657d78b270aa6a32f027849513b829b41b0f28d9d8d7f8c3d29ea559a/mock-3.0.5.tar.gz";
557 360 sha256 = "1hrp6j0yrx2xzylfv02qa8kph661m6yq4p0mc8fnimch9j4psrc3";
558 361 };
559 362 format = "setuptools";
560 363 doCheck = false;
561 364 buildInputs = [];
562 365 checkInputs = [];
563 366 nativeBuildInputs = [];
564 367 propagatedBuildInputs = [
565 self."funcsigs"
566 368 self."six"
567 369 ];
568 370 meta = {
569 license = [ pkgs.lib.licenses.bsdOriginal { fullName = "OSI Approved :: BSD License"; } ];
371 license = [ { fullName = "OSI Approved :: BSD License"; } pkgs.lib.licenses.bsdOriginal ];
570 372 };
571 373 };
572 374 "more-itertools" = super.buildPythonPackage rec {
573 375 pname = "more-itertools";
574 version = "5.0.0";
376 version = "8.3.0";
575 377 src = fetchurl {
576 url = "https://files.pythonhosted.org/packages/dd/26/30fc0d541d9fdf55faf5ba4b0fd68f81d5bd2447579224820ad525934178/more-itertools-5.0.0.tar.gz";
577 sha256 = "1r12cm6mcdwdzz7d47a6g4l437xsvapdlgyhqay3i2nrlv03da9q";
378 url = "https://files.pythonhosted.org/packages/16/e8/b371710ad458e56b6c74b82352fdf1625e75c03511c66a75314f1084f057/more-itertools-8.3.0.tar.gz";
379 sha256 = "1gk7jbl4f5hm99cbd4ci3xp79jxf6ng0i693ir7mwbr3labvi2sm";
578 380 };
579 381 format = "setuptools";
580 382 doCheck = false;
581 383 buildInputs = [];
582 384 checkInputs = [];
583 385 nativeBuildInputs = [];
584 propagatedBuildInputs = [
585 self."six"
586 ];
386 propagatedBuildInputs = [];
587 387 meta = {
588 388 license = [ pkgs.lib.licenses.mit ];
589 389 };
590 390 };
591 391 "msgpack-python" = super.buildPythonPackage rec {
592 392 pname = "msgpack-python";
593 393 version = "0.5.6";
594 394 src = fetchurl {
595 395 url = "https://files.pythonhosted.org/packages/8a/20/6eca772d1a5830336f84aca1d8198e5a3f4715cd1c7fc36d3cc7f7185091/msgpack-python-0.5.6.tar.gz";
596 396 sha256 = "16wh8qgybmfh4pjp8vfv78mdlkxfmcasg78lzlnm6nslsfkci31p";
597 397 };
598 398 format = "setuptools";
599 399 doCheck = false;
600 400 buildInputs = [];
601 401 checkInputs = [];
602 402 nativeBuildInputs = [];
603 403 propagatedBuildInputs = [];
604 404 meta = {
605 405 license = [ pkgs.lib.licenses.asl20 ];
606 406 };
607 407 };
608 408 "packaging" = super.buildPythonPackage rec {
609 409 pname = "packaging";
610 version = "20.3";
410 version = "20.4";
611 411 src = fetchurl {
612 url = "https://files.pythonhosted.org/packages/65/37/83e3f492eb52d771e2820e88105f605335553fe10422cba9d256faeb1702/packaging-20.3.tar.gz";
613 sha256 = "18xpablq278janh03bai9xd4kz9b0yfp6vflazn725ns9x3jna9w";
412 url = "https://files.pythonhosted.org/packages/55/fd/fc1aca9cf51ed2f2c11748fa797370027babd82f87829c7a8e6dbe720145/packaging-20.4.tar.gz";
413 sha256 = "1y3rc1ams1i25calk6b9jf1gl85ix5a23a146swjvhdr8x7zfms3";
614 414 };
615 415 format = "setuptools";
616 416 doCheck = false;
617 417 buildInputs = [];
618 418 checkInputs = [];
619 419 nativeBuildInputs = [];
620 420 propagatedBuildInputs = [
621 421 self."pyparsing"
622 422 self."six"
623 423 ];
624 424 meta = {
625 license = [ pkgs.lib.licenses.bsdOriginal { fullName = "BSD or Apache License, Version 2.0"; } pkgs.lib.licenses.asl20 ];
425 license = [ { fullName = "BSD-2-Clause or Apache-2.0"; } pkgs.lib.licenses.bsdOriginal pkgs.lib.licenses.asl20 ];
626 426 };
627 427 };
628 428 "pastedeploy" = super.buildPythonPackage rec {
629 429 pname = "pastedeploy";
630 430 version = "2.1.0";
631 431 src = fetchurl {
632 432 url = "https://files.pythonhosted.org/packages/c4/e9/972a1c20318b3ae9edcab11a6cef64308fbae5d0d45ab52c6f8b2b8f35b8/PasteDeploy-2.1.0.tar.gz";
633 433 sha256 = "16qsq5y6mryslmbp5pn35x4z8z3ndp5rpgl42h226879nrw9hmg7";
634 434 };
635 435 format = "setuptools";
636 436 doCheck = false;
637 437 buildInputs = [];
638 438 checkInputs = [];
639 439 nativeBuildInputs = [];
640 440 propagatedBuildInputs = [];
641 441 meta = {
642 442 license = [ pkgs.lib.licenses.mit ];
643 443 };
644 444 };
645 445 "pathlib2" = super.buildPythonPackage rec {
646 446 pname = "pathlib2";
647 447 version = "2.3.5";
648 448 src = fetchurl {
649 449 url = "https://files.pythonhosted.org/packages/94/d8/65c86584e7e97ef824a1845c72bbe95d79f5b306364fa778a3c3e401b309/pathlib2-2.3.5.tar.gz";
650 450 sha256 = "0s4qa8c082fdkb17izh4mfgwrjd1n5pya18wvrbwqdvvb5xs9nbc";
651 451 };
652 452 format = "setuptools";
653 453 doCheck = false;
654 454 buildInputs = [];
655 455 checkInputs = [];
656 456 nativeBuildInputs = [];
657 457 propagatedBuildInputs = [
658 self."scandir"
659 458 self."six"
660 459 ];
661 460 meta = {
662 461 license = [ pkgs.lib.licenses.mit ];
663 462 };
664 463 };
665 "pexpect" = super.buildPythonPackage rec {
666 pname = "pexpect";
667 version = "4.8.0";
668 src = fetchurl {
669 url = "https://files.pythonhosted.org/packages/e5/9b/ff402e0e930e70467a7178abb7c128709a30dfb22d8777c043e501bc1b10/pexpect-4.8.0.tar.gz";
670 sha256 = "032cg337h8awydgypz6f4wx848lw8dyrj4zy988x0lyib4ws8rgw";
671 };
672 format = "setuptools";
673 doCheck = false;
674 buildInputs = [];
675 checkInputs = [];
676 nativeBuildInputs = [];
677 propagatedBuildInputs = [
678 self."ptyprocess"
679 ];
680 meta = {
681 license = [ pkgs.lib.licenses.isc { fullName = "ISC License (ISCL)"; } ];
682 };
683 };
684 "pickleshare" = super.buildPythonPackage rec {
685 pname = "pickleshare";
686 version = "0.7.5";
687 src = fetchurl {
688 url = "https://files.pythonhosted.org/packages/d8/b6/df3c1c9b616e9c0edbc4fbab6ddd09df9535849c64ba51fcb6531c32d4d8/pickleshare-0.7.5.tar.gz";
689 sha256 = "1jmghg3c53yp1i8cm6pcrm280ayi8621rwyav9fac7awjr3kss47";
690 };
691 format = "setuptools";
692 doCheck = false;
693 buildInputs = [];
694 checkInputs = [];
695 nativeBuildInputs = [];
696 propagatedBuildInputs = [
697 self."pathlib2"
698 ];
699 meta = {
700 license = [ pkgs.lib.licenses.mit ];
701 };
702 };
703 464 "plaster" = super.buildPythonPackage rec {
704 465 pname = "plaster";
705 466 version = "1.0";
706 467 src = fetchurl {
707 468 url = "https://files.pythonhosted.org/packages/37/e1/56d04382d718d32751017d32f351214384e529b794084eee20bb52405563/plaster-1.0.tar.gz";
708 469 sha256 = "1hy8k0nv2mxq94y5aysk6hjk9ryb4bsd13g83m60hcyzxz3wflc3";
709 470 };
710 471 format = "setuptools";
711 472 doCheck = false;
712 473 buildInputs = [];
713 474 checkInputs = [];
714 475 nativeBuildInputs = [];
715 476 propagatedBuildInputs = [
716 477 self."setuptools"
717 478 ];
718 479 meta = {
719 480 license = [ pkgs.lib.licenses.mit ];
720 481 };
721 482 };
722 483 "plaster-pastedeploy" = super.buildPythonPackage rec {
723 484 pname = "plaster-pastedeploy";
724 485 version = "0.7";
725 486 src = fetchurl {
726 487 url = "https://files.pythonhosted.org/packages/99/69/2d3bc33091249266a1bd3cf24499e40ab31d54dffb4a7d76fe647950b98c/plaster_pastedeploy-0.7.tar.gz";
727 488 sha256 = "1zg7gcsvc1kzay1ry5p699rg2qavfsxqwl17mqxzr0gzw6j9679r";
728 489 };
729 490 format = "setuptools";
730 491 doCheck = false;
731 492 buildInputs = [];
732 493 checkInputs = [];
733 494 nativeBuildInputs = [
734 495 self."setuptools"
735 496 self."wheel"
736 497 ];
737 498 propagatedBuildInputs = [
738 499 self."pastedeploy"
739 500 self."plaster"
740 501 ];
741 502 meta = {
742 503 license = [ pkgs.lib.licenses.mit ];
743 504 };
744 505 };
745 506 "pluggy" = super.buildPythonPackage rec {
746 507 pname = "pluggy";
747 508 version = "0.13.1";
748 509 src = fetchurl {
749 510 url = "https://files.pythonhosted.org/packages/f8/04/7a8542bed4b16a65c2714bf76cf5a0b026157da7f75e87cc88774aa10b14/pluggy-0.13.1.tar.gz";
750 511 sha256 = "1c35qyhvy27q9ih9n899f3h4sdnpgq027dbiilly2qb5cvgarchm";
751 512 };
752 513 format = "setuptools";
753 514 doCheck = false;
754 515 buildInputs = [];
755 516 checkInputs = [];
756 517 nativeBuildInputs = [
757 518 self."setuptools"
758 519 self."setuptools-scm"
759 520 self."wheel"
760 521 ];
761 522 propagatedBuildInputs = [
762 523 self."importlib-metadata"
763 524 ];
764 525 meta = {
765 526 license = [ pkgs.lib.licenses.mit ];
766 527 };
767 528 };
768 "prompt-toolkit" = super.buildPythonPackage rec {
769 pname = "prompt-toolkit";
770 version = "1.0.18";
771 src = fetchurl {
772 url = "https://files.pythonhosted.org/packages/c5/64/c170e5b1913b540bf0c8ab7676b21fdd1d25b65ddeb10025c6ca43cccd4c/prompt_toolkit-1.0.18.tar.gz";
773 sha256 = "09h1153wgr5x2ny7ds0w2m81n3bb9j8hjb8sjfnrg506r01clkyx";
774 };
775 format = "setuptools";
776 doCheck = false;
777 buildInputs = [];
778 checkInputs = [];
779 nativeBuildInputs = [];
780 propagatedBuildInputs = [
781 self."six"
782 self."wcwidth"
783 ];
784 meta = {
785 license = [ pkgs.lib.licenses.bsdOriginal ];
786 };
787 };
788 529 "psutil" = super.buildPythonPackage rec {
789 530 pname = "psutil";
790 531 version = "5.7.0";
791 532 src = fetchurl {
792 533 url = "https://files.pythonhosted.org/packages/c4/b8/3512f0e93e0db23a71d82485ba256071ebef99b227351f0f5540f744af41/psutil-5.7.0.tar.gz";
793 534 sha256 = "03jykdi3dgf1cdal9bv4fq9zjvzj9l9bs99gi5ar81sdl5nc2pk8";
794 535 };
795 536 format = "setuptools";
796 537 doCheck = false;
797 538 buildInputs = [];
798 539 checkInputs = [];
799 540 nativeBuildInputs = [];
800 541 propagatedBuildInputs = [];
801 542 meta = {
802 543 license = [ pkgs.lib.licenses.bsdOriginal ];
803 544 };
804 545 };
805 "ptyprocess" = super.buildPythonPackage rec {
806 pname = "ptyprocess";
807 version = "0.6.0";
808 src = fetchurl {
809 url = "https://code.rhodecode.com/upstream/ptyprocess/artifacts/download/0-c8b019b1-c4d3-46ac-a0ad-1206ec3fb3cb.tar.gz?sha256=50394f2c5e117fcab4360bf99c8bc40be7211ee1a5860aeb3809b44249550c3e";
810 sha256 = "0ghcam4l5d0973mhm1m5w4g23rqbqj5rry8b6ssclzqibqn4yfah";
811 };
812 format = "setuptools";
813 doCheck = false;
814 buildInputs = [];
815 checkInputs = [];
816 nativeBuildInputs = [];
817 propagatedBuildInputs = [];
818 meta = {
819 license = [ { fullName = "ISC License (ISCL)"; } ];
820 };
821 };
822 546 "py" = super.buildPythonPackage rec {
823 547 pname = "py";
824 548 version = "1.8.1";
825 549 src = fetchurl {
826 550 url = "https://files.pythonhosted.org/packages/bd/8f/169d08dcac7d6e311333c96b63cbe92e7947778475e1a619b674989ba1ed/py-1.8.1.tar.gz";
827 551 sha256 = "1ajjazg3913n0sp3vjyva9c2qh5anx8ziryng935f89604a0h9sy";
828 552 };
829 553 format = "setuptools";
830 554 doCheck = false;
831 555 buildInputs = [];
832 556 checkInputs = [];
833 557 nativeBuildInputs = [];
834 558 propagatedBuildInputs = [];
835 559 meta = {
836 560 license = [ pkgs.lib.licenses.mit ];
837 561 };
838 562 };
839 563 "pycparser" = super.buildPythonPackage rec {
840 564 pname = "pycparser";
841 565 version = "2.20";
842 566 src = fetchurl {
843 567 url = "https://files.pythonhosted.org/packages/0f/86/e19659527668d70be91d0369aeaa055b4eb396b0f387a4f92293a20035bd/pycparser-2.20.tar.gz";
844 568 sha256 = "1w0m3xvlrzq4lkbvd1ngfm8mdw64r1yxy6n7djlw6qj5d0km6ird";
845 569 };
846 570 format = "setuptools";
847 571 doCheck = false;
848 572 buildInputs = [];
849 573 checkInputs = [];
850 574 nativeBuildInputs = [];
851 575 propagatedBuildInputs = [];
852 576 meta = {
853 577 license = [ pkgs.lib.licenses.bsdOriginal ];
854 578 };
855 579 };
856 580 "pygit2" = super.buildPythonPackage rec {
857 581 pname = "pygit2";
858 582 version = "0.28.2";
859 583 src = fetchurl {
860 584 url = "https://files.pythonhosted.org/packages/4c/64/88c2a4eb2d22ca1982b364f41ff5da42d61de791d7eb68140e7f8f7eb721/pygit2-0.28.2.tar.gz";
861 585 sha256 = "11kzj5mjkspvplnpdb6bj8dcj6rgmkk986k8hjcklyg5yaxkz32d";
862 586 };
863 587 format = "setuptools";
864 588 doCheck = false;
865 589 buildInputs = [];
866 590 checkInputs = [];
867 nativeBuildInputs = [
868 self."pycparser"
869 self."cffi"
870 ];
591 nativeBuildInputs = [];
871 592 propagatedBuildInputs = [
872 593 self."cffi"
873 594 self."six"
874 595 ];
875 596 meta = {
876 597 license = [ { fullName = "GPLv2 with linking exception"; } ];
877 598 };
878 599 };
879 600 "pygments" = super.buildPythonPackage rec {
880 601 pname = "pygments";
881 version = "2.4.2";
602 version = "2.6.1";
882 603 src = fetchurl {
883 url = "https://files.pythonhosted.org/packages/7e/ae/26808275fc76bf2832deb10d3a3ed3107bc4de01b85dcccbe525f2cd6d1e/Pygments-2.4.2.tar.gz";
884 sha256 = "15v2sqm5g12bqa0c7wikfh9ck2nl97ayizy1hpqhmws5gqalq748";
604 url = "https://files.pythonhosted.org/packages/6e/4d/4d2fe93a35dfba417311a4ff627489a947b01dc0cc377a3673c00cf7e4b2/Pygments-2.6.1.tar.gz";
605 sha256 = "0i4gnd4q0mgkq0dp5wymn7ca8zjd8fgp63139svs6jf2c6h48wv4";
885 606 };
886 607 format = "setuptools";
887 608 doCheck = false;
888 609 buildInputs = [];
889 610 checkInputs = [];
890 611 nativeBuildInputs = [];
891 612 propagatedBuildInputs = [];
892 613 meta = {
893 614 license = [ pkgs.lib.licenses.bsdOriginal ];
894 615 };
895 616 };
896 617 "pyparsing" = super.buildPythonPackage rec {
897 618 pname = "pyparsing";
898 619 version = "2.4.7";
899 620 src = fetchurl {
900 621 url = "https://files.pythonhosted.org/packages/c1/47/dfc9c342c9842bbe0036c7f763d2d6686bcf5eb1808ba3e170afdb282210/pyparsing-2.4.7.tar.gz";
901 622 sha256 = "1hgc8qrbq1ymxbwfbjghv01fm3fbpjwpjwi0bcailxxzhf3yq0y2";
902 623 };
903 624 format = "setuptools";
904 625 doCheck = false;
905 626 buildInputs = [];
906 627 checkInputs = [];
907 628 nativeBuildInputs = [];
908 629 propagatedBuildInputs = [];
909 630 meta = {
910 631 license = [ pkgs.lib.licenses.mit ];
911 632 };
912 633 };
913 634 "pyramid" = super.buildPythonPackage rec {
914 635 pname = "pyramid";
915 636 version = "1.10.4";
916 637 src = fetchurl {
917 638 url = "https://files.pythonhosted.org/packages/c2/43/1ae701c9c6bb3a434358e678a5e72c96e8aa55cf4cb1d2fa2041b5dd38b7/pyramid-1.10.4.tar.gz";
918 639 sha256 = "0rkxs1ajycg2zh1c94xlmls56mx5m161sn8112skj0amza6cn36q";
919 640 };
920 641 format = "setuptools";
921 642 doCheck = false;
922 643 buildInputs = [];
923 644 checkInputs = [];
924 645 nativeBuildInputs = [
925 646 self."setuptools"
926 647 self."wheel"
927 648 ];
928 649 propagatedBuildInputs = [
929 650 self."hupper"
930 651 self."plaster"
931 652 self."plaster-pastedeploy"
932 self."repoze.lru"
933 653 self."setuptools"
934 654 self."translationstring"
935 655 self."venusian"
936 656 self."webob"
937 657 self."zope.deprecation"
938 658 self."zope.interface"
939 659 ];
940 660 meta = {
941 license = [ { fullName = "Repoze Public License"; } { fullName = "BSD-derived (http://www.repoze.org/LICENSE.txt)"; } ];
661 license = [ { fullName = "BSD-derived (http://www.repoze.org/LICENSE.txt)"; } { fullName = "Repoze Public License"; } ];
942 662 };
943 663 };
944 664 "pytest" = super.buildPythonPackage rec {
945 665 pname = "pytest";
946 666 version = "4.6.9";
947 667 src = fetchurl {
948 668 url = "https://files.pythonhosted.org/packages/ec/2e/1602fca477ab3ccb1952f07db0536b60b6afafec16eced8063b553001509/pytest-4.6.9.tar.gz";
949 669 sha256 = "0fgkmpc31nzy97fxfrkqbzycigdwxwwmninx3qhkzp81migggs0r";
950 670 };
951 671 format = "setuptools";
952 672 doCheck = false;
953 673 buildInputs = [];
954 674 checkInputs = [];
955 675 nativeBuildInputs = [
956 676 self."setuptools"
957 677 self."setuptools-scm"
958 678 self."wheel"
959 679 ];
960 680 propagatedBuildInputs = [
961 681 self."atomicwrites"
962 682 self."attrs"
963 self."funcsigs"
964 683 self."importlib-metadata"
965 684 self."more-itertools"
966 685 self."packaging"
967 self."pathlib2"
968 686 self."pluggy"
969 687 self."py"
970 688 self."six"
971 689 self."wcwidth"
972 690 ];
973 691 meta = {
974 692 license = [ pkgs.lib.licenses.mit ];
975 693 };
976 694 };
977 695 "pytest-cov" = super.buildPythonPackage rec {
978 696 pname = "pytest-cov";
979 697 version = "2.8.1";
980 698 src = fetchurl {
981 699 url = "https://files.pythonhosted.org/packages/13/8a/51f54b43a043c799bceca846594b9a310823a3e52df5ec27109cccba90f4/pytest-cov-2.8.1.tar.gz";
982 700 sha256 = "0avzlk9p4nc44k7lpx9109dybq71xqnggxb9f4hp0l64pbc44ryc";
983 701 };
984 702 format = "setuptools";
985 703 doCheck = false;
986 704 buildInputs = [];
987 705 checkInputs = [];
988 706 nativeBuildInputs = [];
989 707 propagatedBuildInputs = [
990 708 self."coverage"
991 709 self."pytest"
992 710 ];
993 711 meta = {
994 license = [ pkgs.lib.licenses.bsdOriginal pkgs.lib.licenses.mit ];
712 license = [ pkgs.lib.licenses.mit pkgs.lib.licenses.bsdOriginal ];
995 713 };
996 714 };
997 715 "pytest-profiling" = super.buildPythonPackage rec {
998 716 pname = "pytest-profiling";
999 717 version = "1.7.0";
1000 718 src = fetchurl {
1001 719 url = "https://files.pythonhosted.org/packages/39/70/22a4b33739f07f1732a63e33bbfbf68e0fa58cfba9d200e76d01921eddbf/pytest-profiling-1.7.0.tar.gz";
1002 720 sha256 = "0abz9gi26jpcfdzgsvwad91555lpgdc8kbymicmms8k2fqa8z4wk";
1003 721 };
1004 722 format = "setuptools";
1005 723 doCheck = false;
1006 724 buildInputs = [];
1007 725 checkInputs = [];
1008 726 nativeBuildInputs = [
1009 727 self."setuptools-git"
1010 728 ];
1011 729 propagatedBuildInputs = [
1012 730 self."gprof2dot"
1013 731 self."pytest"
1014 732 self."six"
1015 733 ];
1016 734 meta = {
1017 735 license = [ pkgs.lib.licenses.mit ];
1018 736 };
1019 737 };
1020 738 "pytest-runner" = super.buildPythonPackage rec {
1021 739 pname = "pytest-runner";
1022 740 version = "5.2";
1023 741 src = fetchurl {
1024 742 url = "https://files.pythonhosted.org/packages/5b/82/1462f86e6c3600f2471d5f552fcc31e39f17717023df4bab712b4a9db1b3/pytest-runner-5.2.tar.gz";
1025 743 sha256 = "0awll1bva5zy8cspsxcpv7pjcrdf5c6pf56nqn4f74vvmlzfgiwn";
1026 744 };
1027 745 format = "setuptools";
1028 746 doCheck = false;
1029 747 buildInputs = [];
1030 748 checkInputs = [];
1031 749 nativeBuildInputs = [
1032 750 self."setuptools"
1033 751 self."wheel"
1034 752 self."setuptools-scm"
1035 753 ];
1036 754 propagatedBuildInputs = [];
1037 755 meta = {
1038 756 license = [ pkgs.lib.licenses.mit ];
1039 757 };
1040 758 };
1041 759 "pytest-sugar" = super.buildPythonPackage rec {
1042 760 pname = "pytest-sugar";
1043 761 version = "0.9.3";
1044 762 src = fetchurl {
1045 763 url = "https://files.pythonhosted.org/packages/ba/35/edf24df4b2fe7d9005bdb9d166c18ae9cefd8b664e7fb2c8dfb7bc9db184/pytest-sugar-0.9.3.tar.gz";
1046 764 sha256 = "1i0hv3h49zvl62jbiyjag84carbrp3zprqzxffdr291nxavvac0n";
1047 765 };
1048 766 format = "setuptools";
1049 767 doCheck = false;
1050 768 buildInputs = [];
1051 769 checkInputs = [];
1052 770 nativeBuildInputs = [];
1053 771 propagatedBuildInputs = [
1054 772 self."packaging"
1055 773 self."pytest"
1056 774 self."termcolor"
1057 775 ];
1058 776 meta = {
1059 777 license = [ pkgs.lib.licenses.bsdOriginal ];
1060 778 };
1061 779 };
1062 780 "pytest-timeout" = super.buildPythonPackage rec {
1063 781 pname = "pytest-timeout";
1064 782 version = "1.3.3";
1065 783 src = fetchurl {
1066 784 url = "https://files.pythonhosted.org/packages/13/48/7a166eaa29c1dca6cc253e3ba5773ff2e4aa4f567c1ea3905808e95ac5c1/pytest-timeout-1.3.3.tar.gz";
1067 785 sha256 = "1cczcjhw4xx5sjkhxlhc5c1bkr7x6fcyx12wrnvwfckshdvblc2a";
1068 786 };
1069 787 format = "setuptools";
1070 788 doCheck = false;
1071 789 buildInputs = [];
1072 790 checkInputs = [];
1073 791 nativeBuildInputs = [];
1074 792 propagatedBuildInputs = [
1075 793 self."pytest"
1076 794 ];
1077 795 meta = {
1078 796 license = [ pkgs.lib.licenses.mit { fullName = "DFSG approved"; } ];
1079 797 };
1080 798 };
1081 799 "redis" = super.buildPythonPackage rec {
1082 800 pname = "redis";
1083 version = "3.4.1";
801 version = "3.5.3";
1084 802 src = fetchurl {
1085 url = "https://files.pythonhosted.org/packages/ef/2e/2c0f59891db7db087a7eeaa79bc7c7f2c039e71a2b5b0a41391e9d462926/redis-3.4.1.tar.gz";
1086 sha256 = "07yaj0j9fs7xdkg5bg926fa990khyigjbp31si8ai20vj8sv7kqd";
803 url = "https://files.pythonhosted.org/packages/b3/17/1e567ff78c83854e16b98694411fe6e08c3426af866ad11397cddceb80d3/redis-3.5.3.tar.gz";
804 sha256 = "18h5b87g15x3j6pb1h2q27ri37p2qpvc9n2wgn5yl3b6m3y0qzhf";
1087 805 };
1088 806 format = "setuptools";
1089 807 doCheck = false;
1090 808 buildInputs = [];
1091 809 checkInputs = [];
1092 810 nativeBuildInputs = [];
1093 811 propagatedBuildInputs = [];
1094 812 meta = {
1095 813 license = [ pkgs.lib.licenses.mit ];
1096 814 };
1097 815 };
1098 816 "repoze.lru" = super.buildPythonPackage rec {
1099 817 pname = "repoze.lru";
1100 818 version = "0.7";
1101 819 src = fetchurl {
1102 820 url = "https://files.pythonhosted.org/packages/12/bc/595a77c4b5e204847fdf19268314ef59c85193a9dc9f83630fc459c0fee5/repoze.lru-0.7.tar.gz";
1103 821 sha256 = "0xzz1aw2smy8hdszrq8yhnklx6w1r1mf55061kalw3iq35gafa84";
1104 822 };
1105 823 format = "setuptools";
1106 824 doCheck = false;
1107 825 buildInputs = [];
1108 826 checkInputs = [];
1109 827 nativeBuildInputs = [];
1110 828 propagatedBuildInputs = [];
1111 829 meta = {
1112 license = [ { fullName = "Repoze Public License"; } { fullName = "BSD-derived (http://www.repoze.org/LICENSE.txt)"; } ];
830 license = [ { fullName = "BSD-derived (http://www.repoze.org/LICENSE.txt)"; } { fullName = "Repoze Public License"; } ];
1113 831 };
1114 832 };
1115 833 "rhodecode-vcsserver" = super.buildPythonPackage rec {
1116 834 pname = "rhodecode-vcsserver";
1117 version = "4.19.0";
835 version = "5.0.0";
1118 836 src = ./.;
1119 837 format = "setuptools";
1120 838 doCheck = false;
1121 839 buildInputs = [];
1122 840 checkInputs = [];
1123 841 nativeBuildInputs = [
1124 842 self."pytest-runner"
1125 843 ];
1126 844 propagatedBuildInputs = [
1127 845 self."beautifulsoup4"
1128 846 self."configobj"
1129 847 self."cov-core"
1130 848 self."coverage"
1131 849 self."decorator"
1132 850 self."dogpile.cache"
1133 851 self."dogpile.core"
1134 852 self."dulwich"
1135 self."gevent"
1136 853 self."gprof2dot"
1137 self."greenlet"
1138 854 self."gunicorn"
1139 855 self."hg-evolve"
1140 856 self."hgsubversion"
1141 self."ipdb"
1142 self."ipython"
1143 857 self."mercurial"
1144 858 self."mock"
1145 859 self."msgpack-python"
1146 860 self."pastedeploy"
1147 861 self."py"
1148 862 self."pygit2"
1149 863 self."pyramid"
1150 864 self."pytest"
1151 865 self."pytest-cov"
1152 866 self."pytest-profiling"
1153 867 self."pytest-runner"
1154 868 self."pytest-sugar"
1155 869 self."pytest-timeout"
1156 870 self."redis"
1157 871 self."repoze.lru"
1158 872 self."simplejson"
1159 873 self."six"
1160 self."subprocess32"
1161 874 self."subvertpy"
1162 875 self."translationstring"
1163 876 self."waitress"
1164 877 self."webob"
1165 878 self."webtest"
1166 879 self."zope.deprecation"
1167 880 self."zope.interface"
1168 881 ];
1169 882 meta = {
1170 license = [ { fullName = "GPL V3"; } { fullName = "GNU General Public License v3 or later (GPLv3+)"; } ];
883 license = [ { fullName = "GNU General Public License v3 or later (GPLv3+)"; } { fullName = "GPL V3"; } ];
1171 884 };
1172 885 };
1173 886 "scandir" = super.buildPythonPackage rec {
1174 887 pname = "scandir";
1175 888 version = "1.10.0";
1176 889 src = fetchurl {
1177 890 url = "https://files.pythonhosted.org/packages/df/f5/9c052db7bd54d0cbf1bc0bb6554362bba1012d03e5888950a4f5c5dadc4e/scandir-1.10.0.tar.gz";
1178 891 sha256 = "1bkqwmf056pkchf05ywbnf659wqlp6lljcdb0y88wr9f0vv32ijd";
1179 892 };
1180 893 format = "setuptools";
1181 894 doCheck = false;
1182 895 buildInputs = [];
1183 896 checkInputs = [];
1184 897 nativeBuildInputs = [];
1185 898 propagatedBuildInputs = [];
1186 899 meta = {
1187 900 license = [ pkgs.lib.licenses.bsdOriginal { fullName = "New BSD License"; } ];
1188 901 };
1189 902 };
1190 903 "setproctitle" = super.buildPythonPackage rec {
1191 904 pname = "setproctitle";
1192 905 version = "1.1.10";
1193 906 src = fetchurl {
1194 907 url = "https://files.pythonhosted.org/packages/5a/0d/dc0d2234aacba6cf1a729964383e3452c52096dc695581248b548786f2b3/setproctitle-1.1.10.tar.gz";
1195 908 sha256 = "163kplw9dcrw0lffq1bvli5yws3rngpnvrxrzdw89pbphjjvg0v2";
1196 909 };
1197 910 format = "setuptools";
1198 911 doCheck = false;
1199 912 buildInputs = [];
1200 913 checkInputs = [];
1201 914 nativeBuildInputs = [];
1202 915 propagatedBuildInputs = [];
1203 916 meta = {
1204 917 license = [ pkgs.lib.licenses.bsdOriginal ];
1205 918 };
1206 919 };
1207 920 "setuptools-git" = super.buildPythonPackage rec {
1208 921 pname = "setuptools-git";
1209 922 version = "1.2";
1210 923 src = fetchurl {
1211 924 url = "https://files.pythonhosted.org/packages/05/97/dd99fa9c0d9627a7b3c103a00f1566d8193aca8d473884ed258cca82b06f/setuptools_git-1.2-py2.py3-none-any.whl";
1212 925 sha256 = "1yjc97r57mfsrvb3yx45cc1aryf6m9kbkmrhlfsv95vxrv64sxp7";
1213 926 };
1214 927 format = "wheel";
1215 928 doCheck = false;
1216 929 buildInputs = [];
1217 930 checkInputs = [];
1218 931 nativeBuildInputs = [];
1219 932 propagatedBuildInputs = [];
1220 933 meta = {
1221 934 license = [ pkgs.lib.licenses.bsdOriginal ];
1222 935 };
1223 936 };
1224 937 "setuptools-scm" = super.buildPythonPackage rec {
1225 938 pname = "setuptools-scm";
1226 version = "3.5.0";
939 version = "4.1.2";
1227 940 src = fetchurl {
1228 url = "https://files.pythonhosted.org/packages/4b/c1/118ec08816737cc46b4dd93b22f7a138fbfb14b53f4b4718fd9983e70a50/setuptools_scm-3.5.0-py2.py3-none-any.whl";
1229 sha256 = "13z30zcwzp1g9g27xv91yrhhbsx2ljw0xkvb36vkx9708cyxn8qd";
941 url = "https://files.pythonhosted.org/packages/ad/d3/e54f8b4cde0f6fb4f231629f570c1a33ded18515411dee6df6fe363d976f/setuptools_scm-4.1.2-py2.py3-none-any.whl";
942 sha256 = "09jqn78qd7w5hik4v3hg4mw3byl0jm8hkwd5swgcxxx5xcp8w9b9";
1230 943 };
1231 944 format = "wheel";
1232 945 doCheck = false;
1233 946 buildInputs = [];
1234 947 checkInputs = [];
1235 948 nativeBuildInputs = [];
1236 propagatedBuildInputs = [];
949 propagatedBuildInputs = [
950 self."setuptools"
951 ];
1237 952 meta = {
1238 953 license = [ pkgs.lib.licenses.mit ];
1239 954 };
1240 955 };
1241 "simplegeneric" = super.buildPythonPackage rec {
1242 pname = "simplegeneric";
1243 version = "0.8.1";
1244 src = fetchurl {
1245 url = "https://files.pythonhosted.org/packages/3d/57/4d9c9e3ae9a255cd4e1106bb57e24056d3d0709fc01b2e3e345898e49d5b/simplegeneric-0.8.1.zip";
1246 sha256 = "0wwi1c6md4vkbcsfsf8dklf3vr4mcdj4mpxkanwgb6jb1432x5yw";
1247 };
1248 format = "setuptools";
1249 doCheck = false;
1250 buildInputs = [];
1251 checkInputs = [];
1252 nativeBuildInputs = [
1253 pkgs."unzip"
1254 ];
1255 propagatedBuildInputs = [];
1256 meta = {
1257 license = [ pkgs.lib.licenses.zpl21 ];
1258 };
1259 };
1260 956 "simplejson" = super.buildPythonPackage rec {
1261 957 pname = "simplejson";
1262 958 version = "3.16.0";
1263 959 src = fetchurl {
1264 960 url = "https://files.pythonhosted.org/packages/e3/24/c35fb1c1c315fc0fffe61ea00d3f88e85469004713dab488dee4f35b0aff/simplejson-3.16.0.tar.gz";
1265 961 sha256 = "19cws1syk8jzq2pw43878dv6fjkb0ifvjpx0i9aajix6kc9jkwxi";
1266 962 };
1267 963 format = "setuptools";
1268 964 doCheck = false;
1269 965 buildInputs = [];
1270 966 checkInputs = [];
1271 967 nativeBuildInputs = [];
1272 968 propagatedBuildInputs = [];
1273 969 meta = {
1274 license = [ { fullName = "Academic Free License (AFL)"; } pkgs.lib.licenses.mit ];
970 license = [ pkgs.lib.licenses.mit { fullName = "Academic Free License (AFL)"; } ];
1275 971 };
1276 972 };
1277 973 "six" = super.buildPythonPackage rec {
1278 974 pname = "six";
1279 version = "1.11.0";
975 version = "1.15.0";
1280 976 src = fetchurl {
1281 url = "https://files.pythonhosted.org/packages/16/d8/bc6316cf98419719bd59c91742194c111b6f2e85abac88e496adefaf7afe/six-1.11.0.tar.gz";
1282 sha256 = "1scqzwc51c875z23phj48gircqjgnn3af8zy2izjwmnlxrxsgs3h";
977 url = "https://files.pythonhosted.org/packages/6b/34/415834bfdafca3c5f451532e8a8d9ba89a21c9743a0c59fbd0205c7f9426/six-1.15.0.tar.gz";
978 sha256 = "0n82108wxn5giff50hd9ykjhd3zl7cndabdasi6568yvbh1rqqrh";
1283 979 };
1284 980 format = "setuptools";
1285 981 doCheck = false;
1286 982 buildInputs = [];
1287 983 checkInputs = [];
1288 984 nativeBuildInputs = [];
1289 985 propagatedBuildInputs = [];
1290 986 meta = {
1291 987 license = [ pkgs.lib.licenses.mit ];
1292 988 };
1293 989 };
1294 "subprocess32" = super.buildPythonPackage rec {
1295 pname = "subprocess32";
1296 version = "3.5.4";
1297 src = fetchurl {
1298 url = "https://files.pythonhosted.org/packages/32/c8/564be4d12629b912ea431f1a50eb8b3b9d00f1a0b1ceff17f266be190007/subprocess32-3.5.4.tar.gz";
1299 sha256 = "17f7mvwx2271s1wrl0qac3wjqqnrqag866zs3qc8v5wp0k43fagb";
1300 };
1301 format = "setuptools";
1302 doCheck = false;
1303 buildInputs = [];
1304 checkInputs = [];
1305 nativeBuildInputs = [];
1306 propagatedBuildInputs = [];
1307 meta = {
1308 license = [ pkgs.lib.licenses.psfl ];
1309 };
1310 };
1311 990 "subvertpy" = super.buildPythonPackage rec {
1312 991 pname = "subvertpy";
1313 992 version = "0.10.1";
1314 993 src = fetchurl {
1315 994 url = "https://files.pythonhosted.org/packages/9d/76/99fa82affce75f5ac0f7dbe513796c3f37311ace0c68e1b063683b4f9b99/subvertpy-0.10.1.tar.gz";
1316 995 sha256 = "061ncy9wjz3zyv527avcrdyk0xygyssyy7p1644nhzhwp8zpybij";
1317 996 };
1318 997 format = "setuptools";
1319 998 doCheck = false;
1320 999 buildInputs = [];
1321 1000 checkInputs = [];
1322 1001 nativeBuildInputs = [];
1323 1002 propagatedBuildInputs = [];
1324 1003 meta = {
1325 license = [ pkgs.lib.licenses.lgpl21Plus pkgs.lib.licenses.gpl2Plus ];
1004 license = [ pkgs.lib.licenses.gpl2Plus pkgs.lib.licenses.lgpl21Plus ];
1326 1005 };
1327 1006 };
1328 1007 "termcolor" = super.buildPythonPackage rec {
1329 1008 pname = "termcolor";
1330 1009 version = "1.1.0";
1331 1010 src = fetchurl {
1332 1011 url = "https://files.pythonhosted.org/packages/8a/48/a76be51647d0eb9f10e2a4511bf3ffb8cc1e6b14e9e4fab46173aa79f981/termcolor-1.1.0.tar.gz";
1333 1012 sha256 = "0fv1vq14rpqwgazxg4981904lfyp84mnammw7y046491cv76jv8x";
1334 1013 };
1335 1014 format = "setuptools";
1336 1015 doCheck = false;
1337 1016 buildInputs = [];
1338 1017 checkInputs = [];
1339 1018 nativeBuildInputs = [];
1340 1019 propagatedBuildInputs = [];
1341 1020 meta = {
1342 1021 license = [ pkgs.lib.licenses.mit ];
1343 1022 };
1344 1023 };
1345 "traitlets" = super.buildPythonPackage rec {
1346 pname = "traitlets";
1347 version = "4.3.3";
1024 "toml" = super.buildPythonPackage rec {
1025 pname = "toml";
1026 version = "0.10.1";
1348 1027 src = fetchurl {
1349 url = "https://files.pythonhosted.org/packages/75/b0/43deb021bc943f18f07cbe3dac1d681626a48997b7ffa1e7fb14ef922b21/traitlets-4.3.3.tar.gz";
1350 sha256 = "1xsrwgivpkxlbr4dfndfsi098s29yqgswgjc1qqn69yxklvfw8yh";
1028 url = "https://files.pythonhosted.org/packages/da/24/84d5c108e818ca294efe7c1ce237b42118643ce58a14d2462b3b2e3800d5/toml-0.10.1.tar.gz";
1029 sha256 = "03wbqm5cn685cwx2664hjdpz370njl7lf0yal8s0dkp5w4mn2swj";
1351 1030 };
1352 1031 format = "setuptools";
1353 1032 doCheck = false;
1354 1033 buildInputs = [];
1355 1034 checkInputs = [];
1356 1035 nativeBuildInputs = [];
1357 propagatedBuildInputs = [
1358 self."decorator"
1359 self."enum34"
1360 self."ipython-genutils"
1361 self."six"
1362 ];
1036 propagatedBuildInputs = [];
1363 1037 meta = {
1364 license = [ pkgs.lib.licenses.bsdOriginal ];
1038 license = [ pkgs.lib.licenses.mit ];
1365 1039 };
1366 1040 };
1367 1041 "translationstring" = super.buildPythonPackage rec {
1368 1042 pname = "translationstring";
1369 1043 version = "1.3";
1370 1044 src = fetchurl {
1371 1045 url = "https://files.pythonhosted.org/packages/5e/eb/bee578cc150b44c653b63f5ebe258b5d0d812ddac12497e5f80fcad5d0b4/translationstring-1.3.tar.gz";
1372 1046 sha256 = "0bdpcnd9pv0131dl08h4zbcwmgc45lyvq3pa224xwan5b3x4rr2f";
1373 1047 };
1374 1048 format = "setuptools";
1375 1049 doCheck = false;
1376 1050 buildInputs = [];
1377 1051 checkInputs = [];
1378 1052 nativeBuildInputs = [];
1379 1053 propagatedBuildInputs = [];
1380 1054 meta = {
1381 1055 license = [ { fullName = "BSD-like (http://repoze.org/license.html)"; } ];
1382 1056 };
1383 1057 };
1384 1058 "venusian" = super.buildPythonPackage rec {
1385 1059 pname = "venusian";
1386 1060 version = "1.2.0";
1387 1061 src = fetchurl {
1388 1062 url = "https://files.pythonhosted.org/packages/7e/6f/40a9d43ac77cb51cb62be5b5662d170f43f8037bdc4eab56336c4ca92bb7/venusian-1.2.0.tar.gz";
1389 1063 sha256 = "0ghyx66g8ikx9nx1mnwqvdcqm11i1vlq0hnvwl50s48bp22q5v34";
1390 1064 };
1391 1065 format = "setuptools";
1392 1066 doCheck = false;
1393 1067 buildInputs = [];
1394 1068 checkInputs = [];
1395 1069 nativeBuildInputs = [];
1396 1070 propagatedBuildInputs = [];
1397 1071 meta = {
1398 1072 license = [ { fullName = "BSD-derived (http://www.repoze.org/LICENSE.txt)"; } ];
1399 1073 };
1400 1074 };
1401 1075 "waitress" = super.buildPythonPackage rec {
1402 1076 pname = "waitress";
1403 version = "1.3.1";
1077 version = "1.4.4";
1404 1078 src = fetchurl {
1405 url = "https://files.pythonhosted.org/packages/a6/e6/708da7bba65898e5d759ade8391b1077e49d07be0b0223c39f5be04def56/waitress-1.3.1.tar.gz";
1406 sha256 = "1iysl8ka3l4cdrr0r19fh1cv28q41mwpvgsb81ji7k4shkb0k3i7";
1079 url = "https://files.pythonhosted.org/packages/9a/32/90a74e5ab5fd4fa4bd051a51eb9a8f63bbbf3e00a00dc5cf73ebd4ddb46a/waitress-1.4.4.tar.gz";
1080 sha256 = "0qdjrwgfah09izsvll05c75fyfj1wmzpmblpn1nar1vli983dd0v";
1407 1081 };
1408 1082 format = "setuptools";
1409 1083 doCheck = false;
1410 1084 buildInputs = [];
1411 1085 checkInputs = [];
1412 nativeBuildInputs = [];
1086 nativeBuildInputs = [
1087 self."setuptools"
1088 ];
1413 1089 propagatedBuildInputs = [];
1414 1090 meta = {
1415 1091 license = [ pkgs.lib.licenses.zpl21 ];
1416 1092 };
1417 1093 };
1418 1094 "wcwidth" = super.buildPythonPackage rec {
1419 1095 pname = "wcwidth";
1420 version = "0.1.9";
1096 version = "0.2.4";
1421 1097 src = fetchurl {
1422 url = "https://files.pythonhosted.org/packages/25/9d/0acbed6e4a4be4fc99148f275488580968f44ddb5e69b8ceb53fc9df55a0/wcwidth-0.1.9.tar.gz";
1423 sha256 = "1wf5ycjx8s066rdvr0fgz4xds9a8zhs91c4jzxvvymm1c8l8cwzf";
1098 url = "https://files.pythonhosted.org/packages/2e/30/268d9d3ed18439b6983a8e630cd52d81fd7460a152d6e801d1b8394e51a1/wcwidth-0.2.4.tar.gz";
1099 sha256 = "13z4a332pvrmn930y1fk4ry82mccsvjxjdpk8lk882rnw5p5nswc";
1424 1100 };
1425 1101 format = "setuptools";
1426 1102 doCheck = false;
1427 1103 buildInputs = [];
1428 1104 checkInputs = [];
1429 1105 nativeBuildInputs = [];
1430 1106 propagatedBuildInputs = [];
1431 1107 meta = {
1432 1108 license = [ pkgs.lib.licenses.mit ];
1433 1109 };
1434 1110 };
1435 1111 "webob" = super.buildPythonPackage rec {
1436 1112 pname = "webob";
1437 version = "1.8.5";
1113 version = "1.8.6";
1438 1114 src = fetchurl {
1439 url = "https://files.pythonhosted.org/packages/9d/1a/0c89c070ee2829c934cb6c7082287c822e28236a4fcf90063e6be7c35532/WebOb-1.8.5.tar.gz";
1440 sha256 = "11khpzaxc88q31v25ic330gsf56fwmbdc9b30br8mvp0fmwspah5";
1115 url = "https://files.pythonhosted.org/packages/2a/32/5f3f43d0784bdd9392db0cb98434d7cd23a0d8a420c4d243ad4cb8517f2a/WebOb-1.8.6.tar.gz";
1116 sha256 = "026i3z99nr3px75isa9mbnky5i7rffiv4d124h5kxfjjsxz92fma";
1441 1117 };
1442 1118 format = "setuptools";
1443 1119 doCheck = false;
1444 1120 buildInputs = [];
1445 1121 checkInputs = [];
1446 1122 nativeBuildInputs = [];
1447 1123 propagatedBuildInputs = [];
1448 1124 meta = {
1449 1125 license = [ pkgs.lib.licenses.mit ];
1450 1126 };
1451 1127 };
1452 1128 "webtest" = super.buildPythonPackage rec {
1453 1129 pname = "webtest";
1454 1130 version = "2.0.34";
1455 1131 src = fetchurl {
1456 1132 url = "https://files.pythonhosted.org/packages/2c/74/a0e63feee438735d628631e2b70d82280276a930637ac535479e5fad9427/WebTest-2.0.34.tar.gz";
1457 1133 sha256 = "0x1y2c8z4fmpsny4hbp6ka37si2g10r5r2jwxhvv5mx7g3blq4bi";
1458 1134 };
1459 1135 format = "setuptools";
1460 1136 doCheck = false;
1461 1137 buildInputs = [];
1462 1138 checkInputs = [];
1463 1139 nativeBuildInputs = [];
1464 1140 propagatedBuildInputs = [
1465 1141 self."beautifulsoup4"
1466 1142 self."six"
1467 1143 self."waitress"
1468 1144 self."webob"
1469 1145 ];
1470 1146 meta = {
1471 1147 license = [ pkgs.lib.licenses.mit ];
1472 1148 };
1473 1149 };
1474 1150 "zipp" = super.buildPythonPackage rec {
1475 1151 pname = "zipp";
1476 version = "1.2.0";
1152 version = "3.1.0";
1477 1153 src = fetchurl {
1478 url = "https://files.pythonhosted.org/packages/78/08/d52f0ea643bc1068d6dc98b412f4966a9b63255d20911a23ac3220c033c4/zipp-1.2.0.tar.gz";
1479 sha256 = "1c91lnv1bxjimh8as27hz7bghsjkkbxn1d37xq7in9c82iai0167";
1154 url = "https://files.pythonhosted.org/packages/ce/8c/2c5f7dc1b418f659d36c04dec9446612fc7b45c8095cc7369dd772513055/zipp-3.1.0.tar.gz";
1155 sha256 = "15pxxs9gp1lcghbl5426fk823h764a5d04cra267kxlqbkby96f5";
1480 1156 };
1481 1157 format = "setuptools";
1482 1158 doCheck = false;
1483 1159 buildInputs = [];
1484 1160 checkInputs = [];
1485 1161 nativeBuildInputs = [
1486 1162 self."setuptools"
1487 1163 self."wheel"
1488 1164 self."setuptools-scm"
1489 1165 ];
1490 propagatedBuildInputs = [
1491 self."contextlib2"
1492 ];
1166 propagatedBuildInputs = [];
1493 1167 meta = {
1494 1168 license = [ pkgs.lib.licenses.mit ];
1495 1169 };
1496 1170 };
1497 1171 "zope.deprecation" = super.buildPythonPackage rec {
1498 1172 pname = "zope.deprecation";
1499 1173 version = "4.4.0";
1500 1174 src = fetchurl {
1501 1175 url = "https://files.pythonhosted.org/packages/34/da/46e92d32d545dd067b9436279d84c339e8b16de2ca393d7b892bc1e1e9fd/zope.deprecation-4.4.0.tar.gz";
1502 1176 sha256 = "1pz2cv7gv9y1r3m0bdv7ks1alagmrn5msm5spwdzkb2by0w36i8d";
1503 1177 };
1504 1178 format = "setuptools";
1505 1179 doCheck = false;
1506 1180 buildInputs = [];
1507 1181 checkInputs = [];
1508 1182 nativeBuildInputs = [];
1509 1183 propagatedBuildInputs = [
1510 1184 self."setuptools"
1511 1185 ];
1512 1186 meta = {
1513 1187 license = [ pkgs.lib.licenses.zpl21 ];
1514 1188 };
1515 1189 };
1516 1190 "zope.interface" = super.buildPythonPackage rec {
1517 1191 pname = "zope.interface";
1518 version = "4.6.0";
1192 version = "5.1.0";
1519 1193 src = fetchurl {
1520 url = "https://files.pythonhosted.org/packages/4e/d0/c9d16bd5b38de44a20c6dc5d5ed80a49626fafcb3db9f9efdc2a19026db6/zope.interface-4.6.0.tar.gz";
1521 sha256 = "1rgh2x3rcl9r0v0499kf78xy86rnmanajf4ywmqb943wpk50sg8v";
1194 url = "https://files.pythonhosted.org/packages/af/d2/9675302d7ced7ec721481f4bbecd28a390a8db4ff753d28c64057b975396/zope.interface-5.1.0.tar.gz";
1195 sha256 = "03nrl6b8cb600dnnh46y149awvrm0gxyqgwq5hdw3lvys8mw9r20";
1522 1196 };
1523 1197 format = "setuptools";
1524 1198 doCheck = false;
1525 1199 buildInputs = [];
1526 1200 checkInputs = [];
1527 1201 nativeBuildInputs = [];
1528 1202 propagatedBuildInputs = [
1529 1203 self."setuptools"
1530 1204 ];
1531 1205 meta = {
1532 1206 license = [ pkgs.lib.licenses.zpl21 ];
1533 1207 };
1534 1208 };
1535 1209 }
@@ -1,60 +1,62 b''
1 1 { pkgs ? (import <nixpkgs> {})
2 , pythonPackages ? "python27Packages"
2 , pythonPackages ? "python37Packages"
3 3 }:
4 4
5 5 with pkgs.lib;
6 6
7 7 let
8 8 _pythonPackages = pythonPackages;
9 9
10 10 in
11 11
12 12 let
13 13 pythonPackages = getAttr _pythonPackages pkgs;
14 14
15 15 pip2nix = import ./nix-common/pip2nix.nix {
16 16 inherit
17 17 pkgs
18 18 pythonPackages;
19 19 };
20 20
21 21 in
22 22
23 23 pkgs.stdenv.mkDerivation {
24 24 name = "pip2nix-generated";
25 25
26 26 buildInputs = [
27 27 # Allows to generate python packages
28 28 pip2nix.pip2nix
29 29 pip2nix.pip
30 30 pip2nix.pip-tools
31 pip2nix.cython
32 pip2nix.flit
31 33
32 34 # compile using ffi
33 35 pkgs.libffi
34 36
35 37 pkgs.apr
36 38 pkgs.aprutil
37 39 ];
38 40
39 41 shellHook = ''
40 42 runHook preShellHook
41 43 echo "Setting SVN_* variables"
42 44 export SVN_LIBRARY_PATH=${pkgs.subversion}/lib
43 45 export SVN_HEADER_PATH=${pkgs.subversion.dev}/include
44 46 runHook postShellHook
45 47 '';
46 48
47 49 preShellHook = ''
48 50 echo "Starting Generate Shell"
49 51 # set unpack source date to 1980 to fix ZIP problems that does not support <1980
50 52 export SOURCE_DATE_EPOCH=315532800
51 53 export TMPDIR=/tmp
52 54 export LOCALE_ARCHIVE="${pkgs.glibcLocales}/lib/locale/locale-archive"
53 55 export LC_ALL="en_US.UTF-8"
54 56 export PYCURL_SSL_LIBRARY=openssl
55 57
56 58 # Custom prompt to distinguish from other dev envs.
57 59 export PS1="\n\[\033[1;32m\][pip2nix-generate-shell]$\[\033[0m\] "
58 60
59 61 '';
60 62 }
@@ -1,45 +1,44 b''
1 1 ## dependencies
2 2
3 3 # our custom configobj
4 4 https://code.rhodecode.com/upstream/configobj/artifacts/download/0-012de99a-b1e1-4f64-a5c0-07a98a41b324.tar.gz?md5=6a513f51fe04b2c18cf84c1395a7c626#egg=configobj==5.0.6
5 5
6 dogpile.cache==0.9.0
6 dogpile.cache==0.9.2
7 7 dogpile.core==0.4.1
8 8 decorator==4.1.2
9 9 dulwich==0.13.0
10 10 hgsubversion==1.9.3
11 hg-evolve==9.1.0
11 hg-evolve==10.0.0
12 12
13 mercurial==5.1.1
13 mercurial==5.4.1
14 14 msgpack-python==0.5.6
15 15
16 16 pastedeploy==2.1.0
17 17 pyramid==1.10.4
18 18 pygit2==0.28.2
19 19
20 20 repoze.lru==0.7
21 redis==3.4.1
21 redis==3.5.3
22 22 simplejson==3.16.0
23 23 subvertpy==0.10.1
24 24
25 six==1.11.0
25 six==1.15.0
26 26 translationstring==1.3
27 webob==1.8.5
27 webob==1.8.6
28 28 zope.deprecation==4.4.0
29 zope.interface==4.6.0
29 zope.interface==5.1.0
30 30
31 31 ## http servers
32 gevent==1.5.0
33 greenlet==0.4.15
34 gunicorn==19.9.0
35 waitress==1.3.1
36
37 ## debug
38 ipdb==0.13.2
39 ipython==5.10.0
32 #gevent==20.6.0
33 #greenlet==0.4.16
34 gunicorn==20.0.4
35 waitress==1.4.4
40 36
41 37 ## test related requirements
42 38 -r requirements_test.txt
43 39
44 40 ## uncomment to add the debug libraries
41 #ipdb==0.13.2
42 #ipython==7.15.0
43
45 44 #-r requirements_debug.txt
@@ -1,21 +1,19 b''
1 1 # contains not directly required libraries we want to pin the version.
2 2
3 3 atomicwrites==1.4.0
4 4 attrs==19.3.0
5 5 contextlib2==0.6.0.post1
6 cffi==1.12.3
6 cffi==1.14.0
7 7 hupper==1.10.2
8 importlib-metadata==1.6.0
9 packaging==20.3
8 importlib-metadata==1.6.1
9 packaging==20.4
10 10 pathlib2==2.3.5
11 pygments==2.4.2
11 pygments==2.6.1
12 12 pyparsing==2.4.7
13 13 psutil==5.7.0
14 14 pluggy==0.13.1
15 15 scandir==1.10.0
16 16 setproctitle==1.1.10
17 17 venusian==1.2.0
18 wcwidth==0.1.9
19
20 # ptyprocess backport, pypi version doesn't support egg/source installs on python 2.X
21 https://code.rhodecode.com/upstream/ptyprocess/artifacts/download/0-c8b019b1-c4d3-46ac-a0ad-1206ec3fb3cb.tar.gz?sha256=50394f2c5e117fcab4360bf99c8bc40be7211ee1a5860aeb3809b44249550c3e#egg=ptyprocess==0.6.0
18 wcwidth==0.2.4
19 toml==0.10.1
@@ -1,135 +1,134 b''
1 1 # -*- coding: utf-8 -*-
2 2 # RhodeCode VCSServer provides access to different vcs backends via network.
3 3 # Copyright (C) 2014-2019 RodeCode GmbH
4 4 #
5 5 # This program is free software; you can redistribute it and/or modify
6 6 # it under the terms of the GNU General Public License as published by
7 7 # the Free Software Foundation; either version 3 of the License, or
8 8 # (at your option) any later version.
9 9 #
10 10 # This program is distributed in the hope that it will be useful,
11 11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 13 # GNU General Public License for more details.
14 14 #
15 15 # You should have received a copy of the GNU General Public License
16 16 # along with this program; if not, write to the Free Software Foundation,
17 17 # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18 18
19 19 # Import early to make sure things are patched up properly
20 20 from setuptools import setup, find_packages
21 21
22 22 import os
23 23 import sys
24 24 import pkgutil
25 25 import platform
26 26 import codecs
27 27
28 28 try: # for pip >= 10
29 29 from pip._internal.req import parse_requirements
30 30 except ImportError: # for pip <= 9.0.3
31 31 from pip.req import parse_requirements
32 32
33 33 try: # for pip >= 10
34 34 from pip._internal.download import PipSession
35 35 except ImportError: # for pip <= 9.0.3
36 36 from pip.download import PipSession
37 37
38 38
39 39 if sys.version_info < (2, 7):
40 40 raise Exception('VCSServer requires Python 2.7 or later')
41 41
42 42 here = os.path.abspath(os.path.dirname(__file__))
43 43
44 44 # defines current platform
45 45 __platform__ = platform.system()
46 46 __license__ = 'GPL V3'
47 47 __author__ = 'RhodeCode GmbH'
48 48 __url__ = 'https://code.rhodecode.com'
49 49 is_windows = __platform__ in ('Windows',)
50 50
51 51
52 52 def _get_requirements(req_filename, exclude=None, extras=None):
53 53 extras = extras or []
54 54 exclude = exclude or []
55 55
56 56 try:
57 57 parsed = parse_requirements(
58 58 os.path.join(here, req_filename), session=PipSession())
59 59 except TypeError:
60 60 # try pip < 6.0.0, that doesn't support session
61 61 parsed = parse_requirements(os.path.join(here, req_filename))
62 62
63 63 requirements = []
64 64 for ir in parsed:
65 65 if ir.req and ir.name not in exclude:
66 66 requirements.append(str(ir.req))
67 67 return requirements + extras
68 68
69 69
70 70 # requirements extract
71 71 setup_requirements = ['pytest-runner']
72 72 install_requirements = _get_requirements(
73 73 'requirements.txt', exclude=['setuptools'])
74 74 test_requirements = _get_requirements(
75 75 'requirements_test.txt', extras=['configobj'])
76 76
77 77
78 78 def get_version():
79 79 version = pkgutil.get_data('vcsserver', 'VERSION')
80 return str(version.strip())
80 return version.decode().strip()
81 81
82 82
83 83 # additional files that goes into package itself
84 84 package_data = {
85 85 '': ['*.txt', '*.rst'],
86 86 'configs': ['*.ini'],
87 87 'vcsserver': ['VERSION'],
88 88 }
89 89
90 90 description = 'Version Control System Server'
91 keywords = ' '.join([
92 'CLI', 'RhodeCode', 'RhodeCode Enterprise', 'RhodeCode Tools'])
91 keywords = ' '.join(['Version Control System'])
93 92
94 93 # README/DESCRIPTION generation
95 94 readme_file = 'README.rst'
96 95 changelog_file = 'CHANGES.rst'
97 96 try:
98 97 long_description = codecs.open(readme_file).read() + '\n\n' + \
99 98 codecs.open(changelog_file).read()
100 99 except IOError as err:
101 100 sys.stderr.write(
102 101 "[WARNING] Cannot find file specified as long_description (%s)\n "
103 102 "or changelog (%s) skipping that file" % (readme_file, changelog_file))
104 103 long_description = description
105 104
106 105
107 106 setup(
108 107 name='rhodecode-vcsserver',
109 108 version=get_version(),
110 109 description=description,
111 110 long_description=long_description,
112 111 keywords=keywords,
113 112 license=__license__,
114 113 author=__author__,
115 114 author_email='support@rhodecode.com',
116 115 url=__url__,
117 116 setup_requires=setup_requirements,
118 117 install_requires=install_requirements,
119 118 tests_require=test_requirements,
120 119 zip_safe=False,
121 120 packages=find_packages(exclude=["docs", "tests*"]),
122 121 package_data=package_data,
123 122 include_package_data=True,
124 123 classifiers=[
125 124 'Development Status :: 6 - Mature',
126 125 'Intended Audience :: Developers',
127 126 'Operating System :: OS Independent',
128 127 'Topic :: Software Development :: Version Control',
129 128 'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
130 129 'Programming Language :: Python :: 2.7',
131 130 ],
132 131 entry_points={
133 132 'paste.app_factory': ['main=vcsserver.http_main:main']
134 133 },
135 134 )
@@ -1,66 +1,50 b''
1 1 # This file contains the adjustments which are desired for a development
2 2 # environment.
3 3
4 4 { pkgs ? (import <nixpkgs> {})
5 , pythonPackages ? "python27Packages"
5 , pythonPackages ? "python37Packages"
6 6 , doCheck ? false
7 7 }:
8 8
9 9 let
10 10
11 vcsserver = import ./default.nix {
11 # Full runtime environment without the actual Python package
12 env = import ./default.nix {
12 13 inherit
13 14 doCheck;
15 pythonExternalOverrides = self: super: {
16 rhodecode-vcsserver = null;
17 };
14 18 };
15 19
16 vcs-pythonPackages = vcsserver.pythonPackages;
17
18 in vcsserver.override (attrs: rec {
19 # Avoid that we dump any sources into the store when entering the shell and
20 # make development a little bit more convenient.
21 src = null;
22
23 # Add dependencies which are useful for the development environment.
24 buildInputs =
25 attrs.buildInputs ++
26 (with vcs-pythonPackages; [
27 ipdb
28 ]);
20 # The python package with full runtime environment as dependency for nix-shell
21 package = (import ./default.nix {
22 inherit
23 doCheck;
24 pythonExternalOverrides = self: super: {
25 rhodecode-vcsserver = super.rhodecode-vcsserver.overridePythonAttrs(attrs: {
26 nativeBuildInputs = with self;
27 attrs.nativeBuildInputs ++
28 attrs.buildInputs ++
29 attrs.propagatedBuildInputs ++ [
30 env
31 pytest
32 ipdb
33 ipython
34 ];
35 });
36 };
37 }).passthru.pythonPackages.rhodecode-vcsserver;
29 38
30 # place to inject some required libs from develop installs
31 propagatedBuildInputs =
32 attrs.propagatedBuildInputs ++
33 [];
34
35 # Make sure we execute both hooks
36 shellHook = ''
37 runHook preShellHook
38 runHook postShellHook
39 '';
40
41 preShellHook = ''
42 echo "Entering vcsserver-shell"
43
39 in package.overridePythonAttrs(attrs: {
40 postShellHook= ''
44 41 # Custom prompt to distinguish from other dev envs.
45 42 export PS1="\n\[\033[1;32m\][vcsserver-shell:\w]$\[\033[0m\] "
46 43
47 44 # Set locale
48 45 export LOCALE_ARCHIVE="${pkgs.glibcLocales}/lib/locale/locale-archive"
49 46 export LC_ALL="en_US.UTF-8"
50 47
51 # Setup a temporary directory.
52 tmp_path=$(mktemp -d)
53 export PATH="${pkgs.subversion}/bin:${pkgs.git}/bin:${vcs-pythonPackages.mercurial}/bin:$tmp_path/bin:$PATH"
54 export PYTHONPATH="$tmp_path/${vcs-pythonPackages.python.sitePackages}:$PYTHONPATH"
55 mkdir -p $tmp_path/${vcs-pythonPackages.python.sitePackages}
56
57 # Develop installation
58 echo "[BEGIN]: develop install of rhodecode-vcsserver"
59 python setup.py develop --prefix $tmp_path --allow-hosts ""
60 '';
61
62 postShellHook = ''
63
64 48 '';
65 49
66 50 })
General Comments 0
You need to be logged in to leave comments. Login now