Show More
@@ -1,211 +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 ? "python3 |
|
|
9 | , pythonPackages ? "python38Packages" | |
|
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 | 29 | # Evaluates to the last segment of a file system path. |
|
30 | 30 | basename = path: with pkgs.lib; last (splitString "/" path); |
|
31 | 31 | startsWith = prefix: full: let |
|
32 | 32 | actualPrefix = builtins.substring 0 (builtins.stringLength prefix) full; |
|
33 | 33 | in actualPrefix == prefix; |
|
34 | 34 | |
|
35 | 35 | # source code filter used as arugment to builtins.filterSource. |
|
36 | 36 | src-filter = path: type: with pkgs.lib; |
|
37 | 37 | let |
|
38 | 38 | ext = last (splitString "." path); |
|
39 | 39 | parts = last (splitString "/" path); |
|
40 | 40 | in |
|
41 | 41 | !builtins.elem (basename path) [ |
|
42 | 42 | ".git" ".hg" "__pycache__" ".eggs" ".idea" ".dev" |
|
43 | 43 | "node_modules" "node_binaries" |
|
44 | 44 | "build" "data" "result" "tmp"] && |
|
45 | 45 | !builtins.elem ext ["egg-info" "pyc"] && |
|
46 | 46 | !startsWith "result" (basename path); |
|
47 | 47 | |
|
48 | 48 | sources = |
|
49 | 49 | let |
|
50 | 50 | inherit |
|
51 | 51 | (pkgs.lib) |
|
52 | 52 | all |
|
53 | 53 | isString |
|
54 | 54 | attrValues; |
|
55 | 55 | |
|
56 | 56 | sourcesConfig = pkgs.config.rc.sources or {}; |
|
57 | 57 | in |
|
58 | 58 | # Ensure that sources are configured as strings. Using a path |
|
59 | 59 | # would result in a copy into the nix store. |
|
60 | 60 | assert all isString (attrValues sourcesConfig); |
|
61 | 61 | sourcesConfig; |
|
62 | 62 | |
|
63 | 63 | rhodecode-vcsserver-src = builtins.filterSource src-filter ./.; |
|
64 | 64 | version = builtins.readFile "${rhodecode-vcsserver-src}/vcsserver/VERSION"; |
|
65 | 65 | |
|
66 | 66 | pythonLocalOverrides = self: super: { |
|
67 | 67 | rhodecode-vcsserver = |
|
68 | 68 | let |
|
69 | 69 | releaseName = "RhodeCodeVCSServer-${version}"; |
|
70 | 70 | in super.rhodecode-vcsserver.overridePythonAttrs (attrs: { |
|
71 | 71 | inherit |
|
72 | 72 | doCheck |
|
73 | 73 | version; |
|
74 | 74 | |
|
75 | 75 | name = "rhodecode-vcsserver-${version}"; |
|
76 | 76 | releaseName = releaseName; |
|
77 | 77 | src = rhodecode-vcsserver-src; |
|
78 | 78 | dontStrip = true; # prevent strip, we don't need it. |
|
79 | 79 | |
|
80 | 80 | buildInputs = |
|
81 | 81 | attrs.buildInputs or [] ++ [ |
|
82 | 82 | |
|
83 | 83 | ]; |
|
84 | 84 | |
|
85 | 85 | #NOTE: option to inject additional propagatedBuildInputs |
|
86 | 86 | propagatedBuildInputs = |
|
87 | 87 | attrs.propagatedBuildInputs or [] ++ [ |
|
88 | 88 | pkgs.git |
|
89 | 89 | pkgs.subversionrc |
|
90 | 90 | ]; |
|
91 | 91 | |
|
92 | 92 | preBuild = '' |
|
93 | 93 | export NIX_PATH=nixpkgs=${pkgs.path} |
|
94 | 94 | export SSL_CERT_FILE=${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt |
|
95 | 95 | ''; |
|
96 | 96 | |
|
97 | 97 | # Add bin directory to path so that tests can find 'vcsserver'. |
|
98 | 98 | preCheck = '' |
|
99 | 99 | echo "Expanding PATH with $out/bin directory" |
|
100 | 100 | export PATH="$out/bin:$PATH" |
|
101 | 101 | ''; |
|
102 | 102 | |
|
103 | 103 | # custom check phase for testing |
|
104 | 104 | checkPhase = '' |
|
105 | 105 | runHook preCheck |
|
106 | 106 | PYTHONHASHSEED=$RANDOM py.test -vv -p no:sugar -r xw --cov-config=.coveragerc --cov=vcsserver --cov-report=term-missing vcsserver |
|
107 | 107 | runHook postCheck |
|
108 | 108 | ''; |
|
109 | 109 | |
|
110 | 110 | postCheck = '' |
|
111 | 111 | echo "Cleanup of vcsserver/tests" |
|
112 | 112 | rm -rf $out/lib/${self.python.libPrefix}/site-packages/vcsserver/tests |
|
113 | 113 | ''; |
|
114 | 114 | |
|
115 | 115 | postInstall = '' |
|
116 | 116 | echo "Writing vcsserver meta information for rccontrol to nix-support/rccontrol" |
|
117 | 117 | mkdir -p $out/nix-support/rccontrol |
|
118 | 118 | cp -v vcsserver/VERSION $out/nix-support/rccontrol/version |
|
119 | 119 | echo "DONE: vcsserver meta information for rccontrol written" |
|
120 | 120 | |
|
121 | 121 | mkdir -p $out/etc |
|
122 | 122 | cp configs/production.ini $out/etc |
|
123 | 123 | echo "DONE: saved vcsserver production.ini into $out/etc" |
|
124 | 124 | |
|
125 | 125 | echo "saving env in $out/etc/env_vars.txt" |
|
126 | 126 | touch $out/etc/env_vars.txt |
|
127 | 127 | echo "# RhodeCode build env vars" >> $out/etc/env_vars.txt |
|
128 | 128 | echo "LOCALE_ARCHIVE=\"${pkgs.glibcLocales}/lib/locale/locale-archive\"" >> $out/etc/env_vars.txt |
|
129 | 129 | echo "LC_ALL=\"en_US.UTF-8\"" >> $out/etc/env_vars.txt |
|
130 | 130 | |
|
131 | 131 | # expose sources of vcsserver |
|
132 | 132 | ln -s $out $out/etc/rhodecode_vcsserver_source |
|
133 | 133 | ''; |
|
134 | 134 | |
|
135 | 135 | }); |
|
136 | 136 | }; |
|
137 | 137 | |
|
138 | 138 | basePythonPackages = with builtins; |
|
139 | 139 | if isAttrs pythonPackages then |
|
140 | 140 | pythonPackages |
|
141 | 141 | else |
|
142 | 142 | getAttr pythonPackages pkgs; |
|
143 | 143 | |
|
144 | 144 | pythonGeneratedPackages = import ./pkgs/python-packages.nix { |
|
145 | 145 | inherit pkgs; |
|
146 | 146 | inherit (pkgs) fetchurl fetchgit fetchhg; |
|
147 | 147 | }; |
|
148 | 148 | |
|
149 | 149 | pythonVCSServerOverrides = import ./pkgs/python-packages-overrides.nix { |
|
150 | 150 | inherit pkgs basePythonPackages; |
|
151 | 151 | }; |
|
152 | 152 | |
|
153 | 153 | # Apply all overrides and fix the vcsserver package set |
|
154 | 154 | targetPython = basePythonPackages.python.override { |
|
155 | 155 | packageOverrides = self: super: with pkgs.lib; |
|
156 | 156 | (extends pythonExternalOverrides |
|
157 | 157 | (extends pythonLocalOverrides |
|
158 | 158 | (extends pythonVCSServerOverrides |
|
159 | 159 | (extends pythonGeneratedPackages |
|
160 | 160 | (self: super))))) self; |
|
161 | 161 | }; |
|
162 | 162 | |
|
163 | 163 | # Python env with rhodecode-vcsserver |
|
164 | 164 | pythonEnv = (targetPython.withPackages(ps: with ps; [rhodecode-vcsserver])); |
|
165 | 165 | |
|
166 | 166 | # Generic env with wrapped binaries |
|
167 | 167 | vcsserver = pkgs.buildEnv { |
|
168 | 168 | name = if ! isNull targetPython.pkgs.rhodecode-vcsserver |
|
169 | 169 | then "vcsserver-${targetPython.pkgs.rhodecode-vcsserver.version}" |
|
170 | 170 | else "vcsserver"; |
|
171 | 171 | paths = [ |
|
172 | 172 | pythonEnv |
|
173 | 173 | # Symlink version control utilities |
|
174 | 174 | # We ensure that always the correct version is available as a symlink. |
|
175 | 175 | # So that users calling them via the profile path will always use the |
|
176 | 176 | # correct version. Wrapping is required so those can "import" |
|
177 | 177 | # vcsserver python hooks. |
|
178 | 178 | pkgs.git |
|
179 | 179 | pkgs.subversionrc |
|
180 | 180 | ]; |
|
181 | 181 | # expose following attributed outside |
|
182 | 182 | passthru = { |
|
183 | 183 | pythonPackages = targetPython.pkgs; |
|
184 | 184 | vcs_pkgs = pkgs; |
|
185 | 185 | }; |
|
186 | 186 | buildInputs = [ |
|
187 | 187 | pkgs.makeWrapper |
|
188 | 188 | ]; |
|
189 | 189 | postBuild = (if ! isNull targetPython.pkgs.rhodecode-vcsserver then '' |
|
190 | 190 | echo "Writing vcsserver meta information for rccontrol to nix-support/rccontrol" |
|
191 | 191 | ln -s ${targetPython.pkgs.rhodecode-vcsserver}/nix-support $out/nix-support |
|
192 | 192 | echo "DONE: vcsserver meta information for rccontrol written" |
|
193 | 193 | '' else "") + '' |
|
194 | 194 | DEPS="$out/bin/*" |
|
195 | 195 | # wrap only dependency scripts, they require to have full PYTHONPATH set |
|
196 | 196 | # to be able to import all packages |
|
197 | 197 | for file in $DEPS; |
|
198 | 198 | do |
|
199 | 199 | wrapProgram $file \ |
|
200 | 200 | --prefix PATH : ${pkgs.git}/bin \ |
|
201 | 201 | --prefix PATH : ${pkgs.subversionrc}/bin \ |
|
202 | 202 | --prefix PATH : ${pythonEnv}/bin \ |
|
203 | 203 | --prefix PYTHONPATH : ${pythonEnv}/${pythonEnv.sitePackages} \ |
|
204 | 204 | --prefix PYTHONPATH : ${pkgs.subversionrc}/${pythonEnv.sitePackages} \ |
|
205 | 205 | --set PYTHONHASHSEED $RANDOM |
|
206 | 206 | done |
|
207 | 207 | echo "DONE: vcsserver binary wrapping" |
|
208 | 208 | ''; |
|
209 | 209 | }; |
|
210 | 210 | |
|
211 | 211 | in vcsserver |
@@ -1,96 +1,96 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-1.0.1"; |
|
25 | 25 | version = "1.0.1"; |
|
26 | 26 | |
|
27 | 27 | src = self.fetchFromGitHub { |
|
28 | 28 | owner = "libgit2"; |
|
29 | 29 | repo = "libgit2"; |
|
30 | 30 | rev = "v1.0.1"; |
|
31 | 31 | sha256 = "0xqdnvrq1bnf8hxh9xjw25y2cg91agvd9jr5qwd30z2a0dzll22v"; |
|
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 | # Override subversion derivation to |
|
46 | 46 | # - activate special python bindings |
|
47 | 47 | subversionrc = |
|
48 | 48 | let |
|
49 |
py3c = self.python3 |
|
|
49 | py3c = self.python38Packages.buildPythonPackage rec { | |
|
50 | 50 | pname = "py3c"; |
|
51 | 51 | version = "1.0"; |
|
52 | 52 | src = self.fetchurl { |
|
53 | 53 | url = "https://files.pythonhosted.org/packages/6a/aa/9f1a69a8c71e72553b281603633e42501de932aa4d9912bccbf9a2884093/py3c-1.0.tar.gz"; |
|
54 | 54 | sha256 = "1h80jqi6r64kppxb4kshsiadrgc5hwk5arp3zcki01jf4ahknjz9"; |
|
55 | 55 | }; |
|
56 | 56 | format = "setuptools"; |
|
57 | 57 | doCheck = false; |
|
58 | 58 | buildInputs = []; |
|
59 | 59 | checkInputs = []; |
|
60 | 60 | nativeBuildInputs = []; |
|
61 | 61 | propagatedBuildInputs = []; |
|
62 | 62 | meta = { |
|
63 | 63 | license = [ ]; |
|
64 | 64 | }; |
|
65 | 65 | }; |
|
66 | 66 | in |
|
67 | 67 | let |
|
68 |
pythonWithEnv = self.python3 |
|
|
68 | pythonWithEnv = self.python38Packages.python.buildEnv.override { | |
|
69 | 69 | extraLibs = [ py3c ]; |
|
70 | 70 | }; |
|
71 | 71 | in |
|
72 | 72 | let |
|
73 | 73 | subversionWithPython = super.subversion.override { |
|
74 | 74 | httpSupport = true; # client must support http |
|
75 | 75 | pythonBindings = true; |
|
76 | 76 | python = pythonWithEnv; |
|
77 | 77 | }; |
|
78 | 78 | |
|
79 | 79 | in |
|
80 | 80 | super.lib.overrideDerivation subversionWithPython (oldAttrs: { |
|
81 | 81 | name = "subversion-1.14.0"; |
|
82 | 82 | src = self.fetchurl { |
|
83 | 83 | url = "https://archive.apache.org/dist/subversion/subversion-1.14.0.tar.gz"; |
|
84 | 84 | sha256 = "1l1px5kva5a13pi2rkxfgxfvypvl6bmbkdag6168fhayad3i2ggg"; |
|
85 | 85 | }; |
|
86 | 86 | |
|
87 | 87 | ## use internal lz4/utf8proc because it is stable and shipped with SVN |
|
88 | 88 | configureFlags = oldAttrs.configureFlags ++ [ |
|
89 | 89 | " --with-lz4=internal" |
|
90 | 90 | " --with-utf8proc=internal" |
|
91 | 91 | ]; |
|
92 | 92 | }); |
|
93 | 93 | |
|
94 | 94 | |
|
95 | 95 | |
|
96 | 96 | } |
@@ -1,1229 +1,1226 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 | 44 | "beautifulsoup4" = super.buildPythonPackage rec { |
|
45 | 45 | pname = "beautifulsoup4"; |
|
46 | 46 | version = "4.6.3"; |
|
47 | 47 | src = fetchurl { |
|
48 | 48 | url = "https://files.pythonhosted.org/packages/88/df/86bffad6309f74f3ff85ea69344a078fc30003270c8df6894fca7a3c72ff/beautifulsoup4-4.6.3.tar.gz"; |
|
49 | 49 | sha256 = "041dhalzjciw6qyzzq7a2k4h1yvyk76xigp35hv5ibnn448ydy4h"; |
|
50 | 50 | }; |
|
51 | 51 | format = "setuptools"; |
|
52 | 52 | doCheck = false; |
|
53 | 53 | buildInputs = []; |
|
54 | 54 | checkInputs = []; |
|
55 | 55 | nativeBuildInputs = []; |
|
56 | 56 | propagatedBuildInputs = []; |
|
57 | 57 | meta = { |
|
58 | 58 | license = [ pkgs.lib.licenses.mit ]; |
|
59 | 59 | }; |
|
60 | 60 | }; |
|
61 | 61 | "cached-property" = super.buildPythonPackage rec { |
|
62 | 62 | pname = "cached-property"; |
|
63 | 63 | version = "1.5.1"; |
|
64 | 64 | src = fetchurl { |
|
65 | 65 | url = "https://files.pythonhosted.org/packages/57/8e/0698e10350a57d46b3bcfe8eff1d4181642fd1724073336079cb13c5cf7f/cached-property-1.5.1.tar.gz"; |
|
66 | 66 | sha256 = "010m1bl380l2r3vwq24r5v14l6gwvgm9v0mqqjkjss552jgsa5wj"; |
|
67 | 67 | }; |
|
68 | 68 | format = "setuptools"; |
|
69 | 69 | doCheck = false; |
|
70 | 70 | buildInputs = []; |
|
71 | 71 | checkInputs = []; |
|
72 | 72 | nativeBuildInputs = []; |
|
73 | 73 | propagatedBuildInputs = []; |
|
74 | 74 | meta = { |
|
75 | 75 | license = [ pkgs.lib.licenses.bsdOriginal ]; |
|
76 | 76 | }; |
|
77 | 77 | }; |
|
78 | 78 | "cffi" = super.buildPythonPackage rec { |
|
79 | 79 | pname = "cffi"; |
|
80 | 80 | version = "1.14.0"; |
|
81 | 81 | src = fetchurl { |
|
82 | 82 | url = "https://files.pythonhosted.org/packages/05/54/3324b0c46340c31b909fcec598696aaec7ddc8c18a63f2db352562d3354c/cffi-1.14.0.tar.gz"; |
|
83 | 83 | sha256 = "1dn279gw5ql8i5n3s5v4rnv96rhhjjfn7xq729qbl5bs2954yf1d"; |
|
84 | 84 | }; |
|
85 | 85 | format = "setuptools"; |
|
86 | 86 | doCheck = false; |
|
87 | 87 | buildInputs = []; |
|
88 | 88 | checkInputs = []; |
|
89 | 89 | nativeBuildInputs = []; |
|
90 | 90 | propagatedBuildInputs = [ |
|
91 | 91 | self."pycparser" |
|
92 | 92 | ]; |
|
93 | 93 | meta = { |
|
94 | 94 | license = [ pkgs.lib.licenses.mit ]; |
|
95 | 95 | }; |
|
96 | 96 | }; |
|
97 | 97 | "configobj" = super.buildPythonPackage rec { |
|
98 | 98 | pname = "configobj"; |
|
99 | 99 | version = "5.0.6"; |
|
100 | 100 | src = fetchurl { |
|
101 | 101 | url = "https://code.rhodecode.com/upstream/configobj/artifacts/download/0-012de99a-b1e1-4f64-a5c0-07a98a41b324.tar.gz?md5=6a513f51fe04b2c18cf84c1395a7c626"; |
|
102 | 102 | sha256 = "0kqfrdfr14mw8yd8qwq14dv2xghpkjmd3yjsy8dfcbvpcc17xnxp"; |
|
103 | 103 | }; |
|
104 | 104 | format = "setuptools"; |
|
105 | 105 | doCheck = false; |
|
106 | 106 | buildInputs = []; |
|
107 | 107 | checkInputs = []; |
|
108 | 108 | nativeBuildInputs = []; |
|
109 | 109 | propagatedBuildInputs = [ |
|
110 | 110 | self."six" |
|
111 | 111 | ]; |
|
112 | 112 | meta = { |
|
113 | 113 | license = [ pkgs.lib.licenses.bsdOriginal ]; |
|
114 | 114 | }; |
|
115 | 115 | }; |
|
116 | 116 | "contextlib2" = super.buildPythonPackage rec { |
|
117 | 117 | pname = "contextlib2"; |
|
118 | 118 | version = "0.6.0.post1"; |
|
119 | 119 | src = fetchurl { |
|
120 | 120 | url = "https://files.pythonhosted.org/packages/02/54/669207eb72e3d8ae8b38aa1f0703ee87a0e9f88f30d3c0a47bebdb6de242/contextlib2-0.6.0.post1.tar.gz"; |
|
121 | 121 | sha256 = "0bhnr2ac7wy5l85ji909gyljyk85n92w8pdvslmrvc8qih4r1x01"; |
|
122 | 122 | }; |
|
123 | 123 | format = "setuptools"; |
|
124 | 124 | doCheck = false; |
|
125 | 125 | buildInputs = []; |
|
126 | 126 | checkInputs = []; |
|
127 | 127 | nativeBuildInputs = []; |
|
128 | 128 | propagatedBuildInputs = []; |
|
129 | 129 | meta = { |
|
130 | 130 | license = [ pkgs.lib.licenses.psfl ]; |
|
131 | 131 | }; |
|
132 | 132 | }; |
|
133 | 133 | "cov-core" = super.buildPythonPackage rec { |
|
134 | 134 | pname = "cov-core"; |
|
135 | 135 | version = "1.15.0"; |
|
136 | 136 | src = fetchurl { |
|
137 | 137 | url = "https://files.pythonhosted.org/packages/4b/87/13e75a47b4ba1be06f29f6d807ca99638bedc6b57fa491cd3de891ca2923/cov-core-1.15.0.tar.gz"; |
|
138 | 138 | sha256 = "0k3np9ymh06yv1ib96sb6wfsxjkqhmik8qfsn119vnhga9ywc52a"; |
|
139 | 139 | }; |
|
140 | 140 | format = "setuptools"; |
|
141 | 141 | doCheck = false; |
|
142 | 142 | buildInputs = []; |
|
143 | 143 | checkInputs = []; |
|
144 | 144 | nativeBuildInputs = []; |
|
145 | 145 | propagatedBuildInputs = [ |
|
146 | 146 | self."coverage" |
|
147 | 147 | ]; |
|
148 | 148 | meta = { |
|
149 | 149 | license = [ pkgs.lib.licenses.mit ]; |
|
150 | 150 | }; |
|
151 | 151 | }; |
|
152 | 152 | "coverage" = super.buildPythonPackage rec { |
|
153 | 153 | pname = "coverage"; |
|
154 | 154 | version = "4.5.4"; |
|
155 | 155 | src = fetchurl { |
|
156 | 156 | url = "https://files.pythonhosted.org/packages/85/d5/818d0e603685c4a613d56f065a721013e942088047ff1027a632948bdae6/coverage-4.5.4.tar.gz"; |
|
157 | 157 | sha256 = "0p0j4di6h8k6ica7jwwj09azdcg4ycxq60i9qsskmsg94cd9yzg0"; |
|
158 | 158 | }; |
|
159 | 159 | format = "setuptools"; |
|
160 | 160 | doCheck = false; |
|
161 | 161 | buildInputs = []; |
|
162 | 162 | checkInputs = []; |
|
163 | 163 | nativeBuildInputs = []; |
|
164 | 164 | propagatedBuildInputs = []; |
|
165 | 165 | meta = { |
|
166 | 166 | license = [ pkgs.lib.licenses.asl20 ]; |
|
167 | 167 | }; |
|
168 | 168 | }; |
|
169 | 169 | "decorator" = super.buildPythonPackage rec { |
|
170 | 170 | pname = "decorator"; |
|
171 | 171 | version = "4.1.2"; |
|
172 | 172 | src = fetchurl { |
|
173 | 173 | url = "https://files.pythonhosted.org/packages/bb/e0/f6e41e9091e130bf16d4437dabbac3993908e4d6485ecbc985ef1352db94/decorator-4.1.2.tar.gz"; |
|
174 | 174 | sha256 = "1d8npb11kxyi36mrvjdpcjij76l5zfyrz2f820brf0l0rcw4vdkw"; |
|
175 | 175 | }; |
|
176 | 176 | format = "setuptools"; |
|
177 | 177 | doCheck = false; |
|
178 | 178 | buildInputs = []; |
|
179 | 179 | checkInputs = []; |
|
180 | 180 | nativeBuildInputs = []; |
|
181 | 181 | propagatedBuildInputs = []; |
|
182 | 182 | meta = { |
|
183 | 183 | license = [ { fullName = "new BSD License"; } pkgs.lib.licenses.bsdOriginal ]; |
|
184 | 184 | }; |
|
185 | 185 | }; |
|
186 | 186 | "dogpile.cache" = super.buildPythonPackage rec { |
|
187 | 187 | pname = "dogpile.cache"; |
|
188 | 188 | version = "0.9.2"; |
|
189 | 189 | src = fetchurl { |
|
190 | 190 | url = "https://files.pythonhosted.org/packages/b5/02/9692c82808341747afc87a7c2b701c8eed76c05ec6bc98844c102a537de7/dogpile.cache-0.9.2.tar.gz"; |
|
191 | 191 | sha256 = "17h5bkijp4zj49a9a0dd608r4lq5xxrkgiydzfg1gq2xz8gxx7dw"; |
|
192 | 192 | }; |
|
193 | 193 | format = "setuptools"; |
|
194 | 194 | doCheck = false; |
|
195 | 195 | buildInputs = []; |
|
196 | 196 | checkInputs = []; |
|
197 | 197 | nativeBuildInputs = []; |
|
198 | 198 | propagatedBuildInputs = [ |
|
199 | 199 | self."decorator" |
|
200 | 200 | ]; |
|
201 | 201 | meta = { |
|
202 | 202 | license = [ pkgs.lib.licenses.mit pkgs.lib.licenses.bsdOriginal ]; |
|
203 | 203 | }; |
|
204 | 204 | }; |
|
205 | 205 | "dogpile.core" = super.buildPythonPackage rec { |
|
206 | 206 | pname = "dogpile.core"; |
|
207 | 207 | version = "0.4.1"; |
|
208 | 208 | src = fetchurl { |
|
209 | 209 | url = "https://files.pythonhosted.org/packages/0e/77/e72abc04c22aedf874301861e5c1e761231c288b5de369c18be8f4b5c9bb/dogpile.core-0.4.1.tar.gz"; |
|
210 | 210 | sha256 = "0xpdvg4kr1isfkrh1rfsh7za4q5a5s6l2kf9wpvndbwf3aqjyrdy"; |
|
211 | 211 | }; |
|
212 | 212 | format = "setuptools"; |
|
213 | 213 | doCheck = false; |
|
214 | 214 | buildInputs = []; |
|
215 | 215 | checkInputs = []; |
|
216 | 216 | nativeBuildInputs = []; |
|
217 | 217 | propagatedBuildInputs = []; |
|
218 | 218 | meta = { |
|
219 | 219 | license = [ pkgs.lib.licenses.bsdOriginal ]; |
|
220 | 220 | }; |
|
221 | 221 | }; |
|
222 | 222 | "dulwich" = super.buildPythonPackage rec { |
|
223 | 223 | pname = "dulwich"; |
|
224 | 224 | version = "0.13.0"; |
|
225 | 225 | src = fetchurl { |
|
226 | 226 | url = "https://files.pythonhosted.org/packages/84/95/732d280eee829dacc954e8109f97b47abcadcca472c2ab013e1635eb4792/dulwich-0.13.0.tar.gz"; |
|
227 | 227 | sha256 = "0f1jwvrh549c4rgavkn3wizrch904s73s4fmrxykxy9cw8s57lwf"; |
|
228 | 228 | }; |
|
229 | 229 | format = "setuptools"; |
|
230 | 230 | doCheck = false; |
|
231 | 231 | buildInputs = []; |
|
232 | 232 | checkInputs = []; |
|
233 | 233 | nativeBuildInputs = []; |
|
234 | 234 | propagatedBuildInputs = []; |
|
235 | 235 | meta = { |
|
236 | 236 | license = [ pkgs.lib.licenses.gpl2Plus ]; |
|
237 | 237 | }; |
|
238 | 238 | }; |
|
239 | 239 | "gprof2dot" = super.buildPythonPackage rec { |
|
240 | 240 | pname = "gprof2dot"; |
|
241 | 241 | version = "2017.9.19"; |
|
242 | 242 | src = fetchurl { |
|
243 | 243 | url = "https://files.pythonhosted.org/packages/9d/36/f977122502979f3dfb50704979c9ed70e6b620787942b089bf1af15f5aba/gprof2dot-2017.9.19.tar.gz"; |
|
244 | 244 | sha256 = "17ih23ld2nzgc3xwgbay911l6lh96jp1zshmskm17n1gg2i7mg6f"; |
|
245 | 245 | }; |
|
246 | 246 | format = "setuptools"; |
|
247 | 247 | doCheck = false; |
|
248 | 248 | buildInputs = []; |
|
249 | 249 | checkInputs = []; |
|
250 | 250 | nativeBuildInputs = []; |
|
251 | 251 | propagatedBuildInputs = []; |
|
252 | 252 | meta = { |
|
253 | 253 | license = [ { fullName = "LGPL"; } { fullName = "GNU Lesser General Public License v3 or later (LGPLv3+)"; } ]; |
|
254 | 254 | }; |
|
255 | 255 | }; |
|
256 | 256 | "gunicorn" = super.buildPythonPackage rec { |
|
257 | 257 | pname = "gunicorn"; |
|
258 | 258 | version = "20.0.4"; |
|
259 | 259 | src = fetchurl { |
|
260 | 260 | url = "https://files.pythonhosted.org/packages/33/b8/f5fd32e1f46fcfefd7cb5c84dee1cf657ab3540ee92b8a09fc40e4887bf0/gunicorn-20.0.4.tar.gz"; |
|
261 | 261 | sha256 = "09n6fc019bgrvph1s5h1lwhn2avcsprw6ncd203qhra3i8mvn10r"; |
|
262 | 262 | }; |
|
263 | 263 | format = "setuptools"; |
|
264 | 264 | doCheck = false; |
|
265 | 265 | buildInputs = []; |
|
266 | 266 | checkInputs = []; |
|
267 | 267 | nativeBuildInputs = []; |
|
268 | 268 | propagatedBuildInputs = [ |
|
269 | 269 | self."setuptools" |
|
270 | 270 | ]; |
|
271 | 271 | meta = { |
|
272 | 272 | license = [ pkgs.lib.licenses.mit ]; |
|
273 | 273 | }; |
|
274 | 274 | }; |
|
275 | 275 | "hg-evolve" = super.buildPythonPackage rec { |
|
276 | 276 | pname = "hg-evolve"; |
|
277 | 277 | version = "10.0.0"; |
|
278 | 278 | src = fetchurl { |
|
279 | 279 | url = "https://files.pythonhosted.org/packages/b8/81/d86d3b4e6c602074805b086ae7471672d24d7ffa4f68ddb97bf68dd460fd/hg-evolve-10.0.0.tar.gz"; |
|
280 | 280 | sha256 = "03kn1c62y6rb851wjhsaxkrwq223hkc4ij59i85999byyb2hyqad"; |
|
281 | 281 | }; |
|
282 | 282 | format = "setuptools"; |
|
283 | 283 | doCheck = false; |
|
284 | 284 | buildInputs = []; |
|
285 | 285 | checkInputs = []; |
|
286 | 286 | nativeBuildInputs = []; |
|
287 | 287 | propagatedBuildInputs = []; |
|
288 | 288 | meta = { |
|
289 | 289 | license = [ { fullName = "GPLv2+"; } ]; |
|
290 | 290 | }; |
|
291 | 291 | }; |
|
292 | 292 | "hgsubversion" = super.buildPythonPackage rec { |
|
293 | 293 | pname = "hgsubversion"; |
|
294 | 294 | version = "1.9.3"; |
|
295 | 295 | src = fetchurl { |
|
296 | 296 | url = "https://files.pythonhosted.org/packages/a3/53/6d205e641f3e09abcf1ddaed66e5e4b20da22d0145566d440a02c9e35f0d/hgsubversion-1.9.3.tar.gz"; |
|
297 | 297 | sha256 = "0nymcjlch8c4zjbncrs30p2nrbylsf25g3h6mr0zzzxr141h3sig"; |
|
298 | 298 | }; |
|
299 | 299 | format = "setuptools"; |
|
300 | 300 | doCheck = false; |
|
301 | 301 | buildInputs = []; |
|
302 | 302 | checkInputs = []; |
|
303 | 303 | nativeBuildInputs = []; |
|
304 | 304 | propagatedBuildInputs = [ |
|
305 | 305 | self."mercurial" |
|
306 | 306 | self."subvertpy" |
|
307 | 307 | ]; |
|
308 | 308 | meta = { |
|
309 | 309 | license = [ pkgs.lib.licenses.gpl1 ]; |
|
310 | 310 | }; |
|
311 | 311 | }; |
|
312 | 312 | "hupper" = super.buildPythonPackage rec { |
|
313 | 313 | pname = "hupper"; |
|
314 | 314 | version = "1.10.2"; |
|
315 | 315 | src = fetchurl { |
|
316 | 316 | url = "https://files.pythonhosted.org/packages/41/24/ea90fef04706e54bd1635c05c50dc9cf87cda543c59303a03e7aa7dda0ce/hupper-1.10.2.tar.gz"; |
|
317 | 317 | sha256 = "0am0p6g5cz6xmcaf04xq8q6dzdd9qz0phj6gcmpsckf2mcyza61q"; |
|
318 | 318 | }; |
|
319 | 319 | format = "setuptools"; |
|
320 | 320 | doCheck = false; |
|
321 | 321 | buildInputs = []; |
|
322 | 322 | checkInputs = []; |
|
323 | 323 | nativeBuildInputs = [ |
|
324 | 324 | self."setuptools" |
|
325 | 325 | self."wheel" |
|
326 | 326 | ]; |
|
327 | 327 | propagatedBuildInputs = []; |
|
328 | 328 | meta = { |
|
329 | 329 | license = [ pkgs.lib.licenses.mit ]; |
|
330 | 330 | }; |
|
331 | 331 | }; |
|
332 | 332 | "importlib-metadata" = super.buildPythonPackage rec { |
|
333 | 333 | pname = "importlib-metadata"; |
|
334 | 334 | version = "1.6.1"; |
|
335 | 335 | src = fetchurl { |
|
336 | 336 | url = "https://files.pythonhosted.org/packages/aa/9a/8483b77e2decd95963d7e34bc9bc91a26e71fd89b57d8cf978ca24747c7f/importlib_metadata-1.6.1.tar.gz"; |
|
337 | 337 | sha256 = "0if5fp7wgr7gdrm47dw1v9bpfvb74zchljm7ac7w1zlc0q4ds185"; |
|
338 | 338 | }; |
|
339 | 339 | format = "setuptools"; |
|
340 | 340 | doCheck = false; |
|
341 | 341 | buildInputs = []; |
|
342 | 342 | checkInputs = []; |
|
343 | 343 | nativeBuildInputs = [ |
|
344 | 344 | self."setuptools" |
|
345 | 345 | self."wheel" |
|
346 | 346 | self."setuptools-scm" |
|
347 | 347 | ]; |
|
348 | 348 | propagatedBuildInputs = [ |
|
349 | 349 | self."zipp" |
|
350 | 350 | ]; |
|
351 | 351 | meta = { |
|
352 | 352 | license = [ pkgs.lib.licenses.asl20 ]; |
|
353 | 353 | }; |
|
354 | 354 | }; |
|
355 | 355 | "mercurial" = super.buildPythonPackage rec { |
|
356 | 356 | pname = "mercurial"; |
|
357 | 357 | version = "5.4.1"; |
|
358 | 358 | src = fetchurl { |
|
359 | 359 | url = "https://files.pythonhosted.org/packages/83/54/d81317f98f31f05026dd4255828e04a1c4a2e1c4e8d7291e0b5b51d99b07/mercurial-5.4.1.tar.gz"; |
|
360 | 360 | sha256 = "1ilam0dz121nn4852jgkgyzyrvk3hn5cqnivy8gk1qg815mh4763"; |
|
361 | 361 | }; |
|
362 | 362 | format = "setuptools"; |
|
363 | 363 | doCheck = false; |
|
364 | 364 | buildInputs = []; |
|
365 | 365 | checkInputs = []; |
|
366 | 366 | nativeBuildInputs = []; |
|
367 | 367 | propagatedBuildInputs = []; |
|
368 | 368 | meta = { |
|
369 | 369 | license = [ pkgs.lib.licenses.gpl2Plus pkgs.lib.licenses.gpl1 ]; |
|
370 | 370 | }; |
|
371 | 371 | }; |
|
372 | 372 | "mock" = super.buildPythonPackage rec { |
|
373 | 373 | pname = "mock"; |
|
374 | 374 | version = "3.0.5"; |
|
375 | 375 | src = fetchurl { |
|
376 | 376 | url = "https://files.pythonhosted.org/packages/2e/ab/4fe657d78b270aa6a32f027849513b829b41b0f28d9d8d7f8c3d29ea559a/mock-3.0.5.tar.gz"; |
|
377 | 377 | sha256 = "1hrp6j0yrx2xzylfv02qa8kph661m6yq4p0mc8fnimch9j4psrc3"; |
|
378 | 378 | }; |
|
379 | 379 | format = "setuptools"; |
|
380 | 380 | doCheck = false; |
|
381 | 381 | buildInputs = []; |
|
382 | 382 | checkInputs = []; |
|
383 | 383 | nativeBuildInputs = []; |
|
384 | 384 | propagatedBuildInputs = [ |
|
385 | 385 | self."six" |
|
386 | 386 | ]; |
|
387 | 387 | meta = { |
|
388 | 388 | license = [ { fullName = "OSI Approved :: BSD License"; } pkgs.lib.licenses.bsdOriginal ]; |
|
389 | 389 | }; |
|
390 | 390 | }; |
|
391 | 391 | "more-itertools" = super.buildPythonPackage rec { |
|
392 | 392 | pname = "more-itertools"; |
|
393 | 393 | version = "8.3.0"; |
|
394 | 394 | src = fetchurl { |
|
395 | 395 | url = "https://files.pythonhosted.org/packages/16/e8/b371710ad458e56b6c74b82352fdf1625e75c03511c66a75314f1084f057/more-itertools-8.3.0.tar.gz"; |
|
396 | 396 | sha256 = "1gk7jbl4f5hm99cbd4ci3xp79jxf6ng0i693ir7mwbr3labvi2sm"; |
|
397 | 397 | }; |
|
398 | 398 | format = "setuptools"; |
|
399 | 399 | doCheck = false; |
|
400 | 400 | buildInputs = []; |
|
401 | 401 | checkInputs = []; |
|
402 | 402 | nativeBuildInputs = []; |
|
403 | 403 | propagatedBuildInputs = []; |
|
404 | 404 | meta = { |
|
405 | 405 | license = [ pkgs.lib.licenses.mit ]; |
|
406 | 406 | }; |
|
407 | 407 | }; |
|
408 | 408 | "msgpack-python" = super.buildPythonPackage rec { |
|
409 | 409 | pname = "msgpack-python"; |
|
410 | 410 | version = "0.5.6"; |
|
411 | 411 | src = fetchurl { |
|
412 | 412 | url = "https://files.pythonhosted.org/packages/8a/20/6eca772d1a5830336f84aca1d8198e5a3f4715cd1c7fc36d3cc7f7185091/msgpack-python-0.5.6.tar.gz"; |
|
413 | 413 | sha256 = "16wh8qgybmfh4pjp8vfv78mdlkxfmcasg78lzlnm6nslsfkci31p"; |
|
414 | 414 | }; |
|
415 | 415 | format = "setuptools"; |
|
416 | 416 | doCheck = false; |
|
417 | 417 | buildInputs = []; |
|
418 | 418 | checkInputs = []; |
|
419 | 419 | nativeBuildInputs = []; |
|
420 | 420 | propagatedBuildInputs = []; |
|
421 | 421 | meta = { |
|
422 | 422 | license = [ pkgs.lib.licenses.asl20 ]; |
|
423 | 423 | }; |
|
424 | 424 | }; |
|
425 | 425 | "packaging" = super.buildPythonPackage rec { |
|
426 | 426 | pname = "packaging"; |
|
427 | 427 | version = "20.4"; |
|
428 | 428 | src = fetchurl { |
|
429 | 429 | url = "https://files.pythonhosted.org/packages/55/fd/fc1aca9cf51ed2f2c11748fa797370027babd82f87829c7a8e6dbe720145/packaging-20.4.tar.gz"; |
|
430 | 430 | sha256 = "1y3rc1ams1i25calk6b9jf1gl85ix5a23a146swjvhdr8x7zfms3"; |
|
431 | 431 | }; |
|
432 | 432 | format = "setuptools"; |
|
433 | 433 | doCheck = false; |
|
434 | 434 | buildInputs = []; |
|
435 | 435 | checkInputs = []; |
|
436 | 436 | nativeBuildInputs = []; |
|
437 | 437 | propagatedBuildInputs = [ |
|
438 | 438 | self."pyparsing" |
|
439 | 439 | self."six" |
|
440 | 440 | ]; |
|
441 | 441 | meta = { |
|
442 | 442 | license = [ { fullName = "BSD-2-Clause or Apache-2.0"; } pkgs.lib.licenses.bsdOriginal pkgs.lib.licenses.asl20 ]; |
|
443 | 443 | }; |
|
444 | 444 | }; |
|
445 | 445 | "pastedeploy" = super.buildPythonPackage rec { |
|
446 | 446 | pname = "pastedeploy"; |
|
447 | 447 | version = "2.1.0"; |
|
448 | 448 | src = fetchurl { |
|
449 | 449 | url = "https://files.pythonhosted.org/packages/c4/e9/972a1c20318b3ae9edcab11a6cef64308fbae5d0d45ab52c6f8b2b8f35b8/PasteDeploy-2.1.0.tar.gz"; |
|
450 | 450 | sha256 = "16qsq5y6mryslmbp5pn35x4z8z3ndp5rpgl42h226879nrw9hmg7"; |
|
451 | 451 | }; |
|
452 | 452 | format = "setuptools"; |
|
453 | 453 | doCheck = false; |
|
454 | 454 | buildInputs = []; |
|
455 | 455 | checkInputs = []; |
|
456 | 456 | nativeBuildInputs = []; |
|
457 | 457 | propagatedBuildInputs = []; |
|
458 | 458 | meta = { |
|
459 | 459 | license = [ pkgs.lib.licenses.mit ]; |
|
460 | 460 | }; |
|
461 | 461 | }; |
|
462 | 462 | "pathlib2" = super.buildPythonPackage rec { |
|
463 | 463 | pname = "pathlib2"; |
|
464 | 464 | version = "2.3.5"; |
|
465 | 465 | src = fetchurl { |
|
466 | 466 | url = "https://files.pythonhosted.org/packages/94/d8/65c86584e7e97ef824a1845c72bbe95d79f5b306364fa778a3c3e401b309/pathlib2-2.3.5.tar.gz"; |
|
467 | 467 | sha256 = "0s4qa8c082fdkb17izh4mfgwrjd1n5pya18wvrbwqdvvb5xs9nbc"; |
|
468 | 468 | }; |
|
469 | 469 | format = "setuptools"; |
|
470 | 470 | doCheck = false; |
|
471 | 471 | buildInputs = []; |
|
472 | 472 | checkInputs = []; |
|
473 | 473 | nativeBuildInputs = []; |
|
474 | 474 | propagatedBuildInputs = [ |
|
475 | 475 | self."six" |
|
476 | 476 | ]; |
|
477 | 477 | meta = { |
|
478 | 478 | license = [ pkgs.lib.licenses.mit ]; |
|
479 | 479 | }; |
|
480 | 480 | }; |
|
481 | 481 | "plaster" = super.buildPythonPackage rec { |
|
482 | 482 | pname = "plaster"; |
|
483 | 483 | version = "1.0"; |
|
484 | 484 | src = fetchurl { |
|
485 | 485 | url = "https://files.pythonhosted.org/packages/37/e1/56d04382d718d32751017d32f351214384e529b794084eee20bb52405563/plaster-1.0.tar.gz"; |
|
486 | 486 | sha256 = "1hy8k0nv2mxq94y5aysk6hjk9ryb4bsd13g83m60hcyzxz3wflc3"; |
|
487 | 487 | }; |
|
488 | 488 | format = "setuptools"; |
|
489 | 489 | doCheck = false; |
|
490 | 490 | buildInputs = []; |
|
491 | 491 | checkInputs = []; |
|
492 | 492 | nativeBuildInputs = []; |
|
493 | 493 | propagatedBuildInputs = [ |
|
494 | 494 | self."setuptools" |
|
495 | 495 | ]; |
|
496 | 496 | meta = { |
|
497 | 497 | license = [ pkgs.lib.licenses.mit ]; |
|
498 | 498 | }; |
|
499 | 499 | }; |
|
500 | 500 | "plaster-pastedeploy" = super.buildPythonPackage rec { |
|
501 | 501 | pname = "plaster-pastedeploy"; |
|
502 | 502 | version = "0.7"; |
|
503 | 503 | src = fetchurl { |
|
504 | 504 | url = "https://files.pythonhosted.org/packages/99/69/2d3bc33091249266a1bd3cf24499e40ab31d54dffb4a7d76fe647950b98c/plaster_pastedeploy-0.7.tar.gz"; |
|
505 | 505 | sha256 = "1zg7gcsvc1kzay1ry5p699rg2qavfsxqwl17mqxzr0gzw6j9679r"; |
|
506 | 506 | }; |
|
507 | 507 | format = "setuptools"; |
|
508 | 508 | doCheck = false; |
|
509 | 509 | buildInputs = []; |
|
510 | 510 | checkInputs = []; |
|
511 | 511 | nativeBuildInputs = [ |
|
512 | 512 | self."setuptools" |
|
513 | 513 | self."wheel" |
|
514 | 514 | ]; |
|
515 | 515 | propagatedBuildInputs = [ |
|
516 | 516 | self."pastedeploy" |
|
517 | 517 | self."plaster" |
|
518 | 518 | ]; |
|
519 | 519 | meta = { |
|
520 | 520 | license = [ pkgs.lib.licenses.mit ]; |
|
521 | 521 | }; |
|
522 | 522 | }; |
|
523 | 523 | "pluggy" = super.buildPythonPackage rec { |
|
524 | 524 | pname = "pluggy"; |
|
525 | 525 | version = "0.13.1"; |
|
526 | 526 | src = fetchurl { |
|
527 | 527 | url = "https://files.pythonhosted.org/packages/f8/04/7a8542bed4b16a65c2714bf76cf5a0b026157da7f75e87cc88774aa10b14/pluggy-0.13.1.tar.gz"; |
|
528 | 528 | sha256 = "1c35qyhvy27q9ih9n899f3h4sdnpgq027dbiilly2qb5cvgarchm"; |
|
529 | 529 | }; |
|
530 | 530 | format = "setuptools"; |
|
531 | 531 | doCheck = false; |
|
532 | 532 | buildInputs = []; |
|
533 | 533 | checkInputs = []; |
|
534 | 534 | nativeBuildInputs = [ |
|
535 | 535 | self."setuptools" |
|
536 | 536 | self."setuptools-scm" |
|
537 | 537 | self."wheel" |
|
538 | 538 | ]; |
|
539 | propagatedBuildInputs = [ | |
|
540 | self."importlib-metadata" | |
|
541 | ]; | |
|
539 | propagatedBuildInputs = []; | |
|
542 | 540 | meta = { |
|
543 | 541 | license = [ pkgs.lib.licenses.mit ]; |
|
544 | 542 | }; |
|
545 | 543 | }; |
|
546 | 544 | "psutil" = super.buildPythonPackage rec { |
|
547 | 545 | pname = "psutil"; |
|
548 | 546 | version = "5.7.0"; |
|
549 | 547 | src = fetchurl { |
|
550 | 548 | url = "https://files.pythonhosted.org/packages/c4/b8/3512f0e93e0db23a71d82485ba256071ebef99b227351f0f5540f744af41/psutil-5.7.0.tar.gz"; |
|
551 | 549 | sha256 = "03jykdi3dgf1cdal9bv4fq9zjvzj9l9bs99gi5ar81sdl5nc2pk8"; |
|
552 | 550 | }; |
|
553 | 551 | format = "setuptools"; |
|
554 | 552 | doCheck = false; |
|
555 | 553 | buildInputs = []; |
|
556 | 554 | checkInputs = []; |
|
557 | 555 | nativeBuildInputs = []; |
|
558 | 556 | propagatedBuildInputs = []; |
|
559 | 557 | meta = { |
|
560 | 558 | license = [ pkgs.lib.licenses.bsdOriginal ]; |
|
561 | 559 | }; |
|
562 | 560 | }; |
|
563 | 561 | "py" = super.buildPythonPackage rec { |
|
564 | 562 | pname = "py"; |
|
565 | 563 | version = "1.8.1"; |
|
566 | 564 | src = fetchurl { |
|
567 | 565 | url = "https://files.pythonhosted.org/packages/bd/8f/169d08dcac7d6e311333c96b63cbe92e7947778475e1a619b674989ba1ed/py-1.8.1.tar.gz"; |
|
568 | 566 | sha256 = "1ajjazg3913n0sp3vjyva9c2qh5anx8ziryng935f89604a0h9sy"; |
|
569 | 567 | }; |
|
570 | 568 | format = "setuptools"; |
|
571 | 569 | doCheck = false; |
|
572 | 570 | buildInputs = []; |
|
573 | 571 | checkInputs = []; |
|
574 | 572 | nativeBuildInputs = []; |
|
575 | 573 | propagatedBuildInputs = []; |
|
576 | 574 | meta = { |
|
577 | 575 | license = [ pkgs.lib.licenses.mit ]; |
|
578 | 576 | }; |
|
579 | 577 | }; |
|
580 | 578 | "pycparser" = super.buildPythonPackage rec { |
|
581 | 579 | pname = "pycparser"; |
|
582 | 580 | version = "2.20"; |
|
583 | 581 | src = fetchurl { |
|
584 | 582 | url = "https://files.pythonhosted.org/packages/0f/86/e19659527668d70be91d0369aeaa055b4eb396b0f387a4f92293a20035bd/pycparser-2.20.tar.gz"; |
|
585 | 583 | sha256 = "1w0m3xvlrzq4lkbvd1ngfm8mdw64r1yxy6n7djlw6qj5d0km6ird"; |
|
586 | 584 | }; |
|
587 | 585 | format = "setuptools"; |
|
588 | 586 | doCheck = false; |
|
589 | 587 | buildInputs = []; |
|
590 | 588 | checkInputs = []; |
|
591 | 589 | nativeBuildInputs = []; |
|
592 | 590 | propagatedBuildInputs = []; |
|
593 | 591 | meta = { |
|
594 | 592 | license = [ pkgs.lib.licenses.bsdOriginal ]; |
|
595 | 593 | }; |
|
596 | 594 | }; |
|
597 | 595 | "pygit2" = super.buildPythonPackage rec { |
|
598 | 596 | pname = "pygit2"; |
|
599 | 597 | version = "1.2.1"; |
|
600 | 598 | src = fetchurl { |
|
601 | 599 | url = "https://files.pythonhosted.org/packages/d0/c6/33e2df5722e3adf49adc6a2d3c2cdb5a5247236fd8f2063a0c4d058116a1/pygit2-1.2.1.tar.gz"; |
|
602 | 600 | sha256 = "11q3a0p4mvzdskla0c6ffcrddldfbh7dc4p5l6xrriwri88j356y"; |
|
603 | 601 | }; |
|
604 | 602 | format = "setuptools"; |
|
605 | 603 | doCheck = false; |
|
606 | 604 | buildInputs = []; |
|
607 | 605 | checkInputs = []; |
|
608 | 606 | nativeBuildInputs = [ |
|
609 | 607 | self."setuptools" |
|
610 | 608 | self."wheel" |
|
611 | 609 | ]; |
|
612 | 610 | propagatedBuildInputs = [ |
|
613 | 611 | self."cached-property" |
|
614 | 612 | self."cffi" |
|
615 | 613 | ]; |
|
616 | 614 | meta = { |
|
617 | 615 | license = [ { fullName = "GPLv2 with linking exception"; } ]; |
|
618 | 616 | }; |
|
619 | 617 | }; |
|
620 | 618 | "pygments" = super.buildPythonPackage rec { |
|
621 | 619 | pname = "pygments"; |
|
622 | 620 | version = "2.6.1"; |
|
623 | 621 | src = fetchurl { |
|
624 | 622 | url = "https://files.pythonhosted.org/packages/6e/4d/4d2fe93a35dfba417311a4ff627489a947b01dc0cc377a3673c00cf7e4b2/Pygments-2.6.1.tar.gz"; |
|
625 | 623 | sha256 = "0i4gnd4q0mgkq0dp5wymn7ca8zjd8fgp63139svs6jf2c6h48wv4"; |
|
626 | 624 | }; |
|
627 | 625 | format = "setuptools"; |
|
628 | 626 | doCheck = false; |
|
629 | 627 | buildInputs = []; |
|
630 | 628 | checkInputs = []; |
|
631 | 629 | nativeBuildInputs = []; |
|
632 | 630 | propagatedBuildInputs = []; |
|
633 | 631 | meta = { |
|
634 | 632 | license = [ pkgs.lib.licenses.bsdOriginal ]; |
|
635 | 633 | }; |
|
636 | 634 | }; |
|
637 | 635 | "pyparsing" = super.buildPythonPackage rec { |
|
638 | 636 | pname = "pyparsing"; |
|
639 | 637 | version = "2.4.7"; |
|
640 | 638 | src = fetchurl { |
|
641 | 639 | url = "https://files.pythonhosted.org/packages/c1/47/dfc9c342c9842bbe0036c7f763d2d6686bcf5eb1808ba3e170afdb282210/pyparsing-2.4.7.tar.gz"; |
|
642 | 640 | sha256 = "1hgc8qrbq1ymxbwfbjghv01fm3fbpjwpjwi0bcailxxzhf3yq0y2"; |
|
643 | 641 | }; |
|
644 | 642 | format = "setuptools"; |
|
645 | 643 | doCheck = false; |
|
646 | 644 | buildInputs = []; |
|
647 | 645 | checkInputs = []; |
|
648 | 646 | nativeBuildInputs = []; |
|
649 | 647 | propagatedBuildInputs = []; |
|
650 | 648 | meta = { |
|
651 | 649 | license = [ pkgs.lib.licenses.mit ]; |
|
652 | 650 | }; |
|
653 | 651 | }; |
|
654 | 652 | "pyramid" = super.buildPythonPackage rec { |
|
655 | 653 | pname = "pyramid"; |
|
656 | 654 | version = "1.10.4"; |
|
657 | 655 | src = fetchurl { |
|
658 | 656 | url = "https://files.pythonhosted.org/packages/c2/43/1ae701c9c6bb3a434358e678a5e72c96e8aa55cf4cb1d2fa2041b5dd38b7/pyramid-1.10.4.tar.gz"; |
|
659 | 657 | sha256 = "0rkxs1ajycg2zh1c94xlmls56mx5m161sn8112skj0amza6cn36q"; |
|
660 | 658 | }; |
|
661 | 659 | format = "setuptools"; |
|
662 | 660 | doCheck = false; |
|
663 | 661 | buildInputs = []; |
|
664 | 662 | checkInputs = []; |
|
665 | 663 | nativeBuildInputs = [ |
|
666 | 664 | self."setuptools" |
|
667 | 665 | self."wheel" |
|
668 | 666 | ]; |
|
669 | 667 | propagatedBuildInputs = [ |
|
670 | 668 | self."hupper" |
|
671 | 669 | self."plaster" |
|
672 | 670 | self."plaster-pastedeploy" |
|
673 | 671 | self."setuptools" |
|
674 | 672 | self."translationstring" |
|
675 | 673 | self."venusian" |
|
676 | 674 | self."webob" |
|
677 | 675 | self."zope.deprecation" |
|
678 | 676 | self."zope.interface" |
|
679 | 677 | ]; |
|
680 | 678 | meta = { |
|
681 | 679 | license = [ { fullName = "BSD-derived (http://www.repoze.org/LICENSE.txt)"; } { fullName = "Repoze Public License"; } ]; |
|
682 | 680 | }; |
|
683 | 681 | }; |
|
684 | 682 | "pytest" = super.buildPythonPackage rec { |
|
685 | 683 | pname = "pytest"; |
|
686 | 684 | version = "4.6.9"; |
|
687 | 685 | src = fetchurl { |
|
688 | 686 | url = "https://files.pythonhosted.org/packages/ec/2e/1602fca477ab3ccb1952f07db0536b60b6afafec16eced8063b553001509/pytest-4.6.9.tar.gz"; |
|
689 | 687 | sha256 = "0fgkmpc31nzy97fxfrkqbzycigdwxwwmninx3qhkzp81migggs0r"; |
|
690 | 688 | }; |
|
691 | 689 | format = "setuptools"; |
|
692 | 690 | doCheck = false; |
|
693 | 691 | buildInputs = []; |
|
694 | 692 | checkInputs = []; |
|
695 | 693 | nativeBuildInputs = [ |
|
696 | 694 | self."setuptools" |
|
697 | 695 | self."setuptools-scm" |
|
698 | 696 | self."wheel" |
|
699 | 697 | ]; |
|
700 | 698 | propagatedBuildInputs = [ |
|
701 | 699 | self."atomicwrites" |
|
702 | 700 | self."attrs" |
|
703 | self."importlib-metadata" | |
|
704 | 701 | self."more-itertools" |
|
705 | 702 | self."packaging" |
|
706 | 703 | self."pluggy" |
|
707 | 704 | self."py" |
|
708 | 705 | self."six" |
|
709 | 706 | self."wcwidth" |
|
710 | 707 | ]; |
|
711 | 708 | meta = { |
|
712 | 709 | license = [ pkgs.lib.licenses.mit ]; |
|
713 | 710 | }; |
|
714 | 711 | }; |
|
715 | 712 | "pytest-cov" = super.buildPythonPackage rec { |
|
716 | 713 | pname = "pytest-cov"; |
|
717 | 714 | version = "2.8.1"; |
|
718 | 715 | src = fetchurl { |
|
719 | 716 | url = "https://files.pythonhosted.org/packages/13/8a/51f54b43a043c799bceca846594b9a310823a3e52df5ec27109cccba90f4/pytest-cov-2.8.1.tar.gz"; |
|
720 | 717 | sha256 = "0avzlk9p4nc44k7lpx9109dybq71xqnggxb9f4hp0l64pbc44ryc"; |
|
721 | 718 | }; |
|
722 | 719 | format = "setuptools"; |
|
723 | 720 | doCheck = false; |
|
724 | 721 | buildInputs = []; |
|
725 | 722 | checkInputs = []; |
|
726 | 723 | nativeBuildInputs = []; |
|
727 | 724 | propagatedBuildInputs = [ |
|
728 | 725 | self."coverage" |
|
729 | 726 | self."pytest" |
|
730 | 727 | ]; |
|
731 | 728 | meta = { |
|
732 | 729 | license = [ pkgs.lib.licenses.mit pkgs.lib.licenses.bsdOriginal ]; |
|
733 | 730 | }; |
|
734 | 731 | }; |
|
735 | 732 | "pytest-profiling" = super.buildPythonPackage rec { |
|
736 | 733 | pname = "pytest-profiling"; |
|
737 | 734 | version = "1.7.0"; |
|
738 | 735 | src = fetchurl { |
|
739 | 736 | url = "https://files.pythonhosted.org/packages/39/70/22a4b33739f07f1732a63e33bbfbf68e0fa58cfba9d200e76d01921eddbf/pytest-profiling-1.7.0.tar.gz"; |
|
740 | 737 | sha256 = "0abz9gi26jpcfdzgsvwad91555lpgdc8kbymicmms8k2fqa8z4wk"; |
|
741 | 738 | }; |
|
742 | 739 | format = "setuptools"; |
|
743 | 740 | doCheck = false; |
|
744 | 741 | buildInputs = []; |
|
745 | 742 | checkInputs = []; |
|
746 | 743 | nativeBuildInputs = [ |
|
747 | 744 | self."setuptools-git" |
|
748 | 745 | ]; |
|
749 | 746 | propagatedBuildInputs = [ |
|
750 | 747 | self."gprof2dot" |
|
751 | 748 | self."pytest" |
|
752 | 749 | self."six" |
|
753 | 750 | ]; |
|
754 | 751 | meta = { |
|
755 | 752 | license = [ pkgs.lib.licenses.mit ]; |
|
756 | 753 | }; |
|
757 | 754 | }; |
|
758 | 755 | "pytest-runner" = super.buildPythonPackage rec { |
|
759 | 756 | pname = "pytest-runner"; |
|
760 | 757 | version = "5.2"; |
|
761 | 758 | src = fetchurl { |
|
762 | 759 | url = "https://files.pythonhosted.org/packages/5b/82/1462f86e6c3600f2471d5f552fcc31e39f17717023df4bab712b4a9db1b3/pytest-runner-5.2.tar.gz"; |
|
763 | 760 | sha256 = "0awll1bva5zy8cspsxcpv7pjcrdf5c6pf56nqn4f74vvmlzfgiwn"; |
|
764 | 761 | }; |
|
765 | 762 | format = "setuptools"; |
|
766 | 763 | doCheck = false; |
|
767 | 764 | buildInputs = []; |
|
768 | 765 | checkInputs = []; |
|
769 | 766 | nativeBuildInputs = [ |
|
770 | 767 | self."setuptools" |
|
771 | 768 | self."wheel" |
|
772 | 769 | self."setuptools-scm" |
|
773 | 770 | ]; |
|
774 | 771 | propagatedBuildInputs = []; |
|
775 | 772 | meta = { |
|
776 | 773 | license = [ pkgs.lib.licenses.mit ]; |
|
777 | 774 | }; |
|
778 | 775 | }; |
|
779 | 776 | "pytest-sugar" = super.buildPythonPackage rec { |
|
780 | 777 | pname = "pytest-sugar"; |
|
781 | 778 | version = "0.9.3"; |
|
782 | 779 | src = fetchurl { |
|
783 | 780 | url = "https://files.pythonhosted.org/packages/ba/35/edf24df4b2fe7d9005bdb9d166c18ae9cefd8b664e7fb2c8dfb7bc9db184/pytest-sugar-0.9.3.tar.gz"; |
|
784 | 781 | sha256 = "1i0hv3h49zvl62jbiyjag84carbrp3zprqzxffdr291nxavvac0n"; |
|
785 | 782 | }; |
|
786 | 783 | format = "setuptools"; |
|
787 | 784 | doCheck = false; |
|
788 | 785 | buildInputs = []; |
|
789 | 786 | checkInputs = []; |
|
790 | 787 | nativeBuildInputs = []; |
|
791 | 788 | propagatedBuildInputs = [ |
|
792 | 789 | self."packaging" |
|
793 | 790 | self."pytest" |
|
794 | 791 | self."termcolor" |
|
795 | 792 | ]; |
|
796 | 793 | meta = { |
|
797 | 794 | license = [ pkgs.lib.licenses.bsdOriginal ]; |
|
798 | 795 | }; |
|
799 | 796 | }; |
|
800 | 797 | "pytest-timeout" = super.buildPythonPackage rec { |
|
801 | 798 | pname = "pytest-timeout"; |
|
802 | 799 | version = "1.3.3"; |
|
803 | 800 | src = fetchurl { |
|
804 | 801 | url = "https://files.pythonhosted.org/packages/13/48/7a166eaa29c1dca6cc253e3ba5773ff2e4aa4f567c1ea3905808e95ac5c1/pytest-timeout-1.3.3.tar.gz"; |
|
805 | 802 | sha256 = "1cczcjhw4xx5sjkhxlhc5c1bkr7x6fcyx12wrnvwfckshdvblc2a"; |
|
806 | 803 | }; |
|
807 | 804 | format = "setuptools"; |
|
808 | 805 | doCheck = false; |
|
809 | 806 | buildInputs = []; |
|
810 | 807 | checkInputs = []; |
|
811 | 808 | nativeBuildInputs = []; |
|
812 | 809 | propagatedBuildInputs = [ |
|
813 | 810 | self."pytest" |
|
814 | 811 | ]; |
|
815 | 812 | meta = { |
|
816 | 813 | license = [ pkgs.lib.licenses.mit { fullName = "DFSG approved"; } ]; |
|
817 | 814 | }; |
|
818 | 815 | }; |
|
819 | 816 | "redis" = super.buildPythonPackage rec { |
|
820 | 817 | pname = "redis"; |
|
821 | 818 | version = "3.5.3"; |
|
822 | 819 | src = fetchurl { |
|
823 | 820 | url = "https://files.pythonhosted.org/packages/b3/17/1e567ff78c83854e16b98694411fe6e08c3426af866ad11397cddceb80d3/redis-3.5.3.tar.gz"; |
|
824 | 821 | sha256 = "18h5b87g15x3j6pb1h2q27ri37p2qpvc9n2wgn5yl3b6m3y0qzhf"; |
|
825 | 822 | }; |
|
826 | 823 | format = "setuptools"; |
|
827 | 824 | doCheck = false; |
|
828 | 825 | buildInputs = []; |
|
829 | 826 | checkInputs = []; |
|
830 | 827 | nativeBuildInputs = []; |
|
831 | 828 | propagatedBuildInputs = []; |
|
832 | 829 | meta = { |
|
833 | 830 | license = [ pkgs.lib.licenses.mit ]; |
|
834 | 831 | }; |
|
835 | 832 | }; |
|
836 | 833 | "repoze.lru" = super.buildPythonPackage rec { |
|
837 | 834 | pname = "repoze.lru"; |
|
838 | 835 | version = "0.7"; |
|
839 | 836 | src = fetchurl { |
|
840 | 837 | url = "https://files.pythonhosted.org/packages/12/bc/595a77c4b5e204847fdf19268314ef59c85193a9dc9f83630fc459c0fee5/repoze.lru-0.7.tar.gz"; |
|
841 | 838 | sha256 = "0xzz1aw2smy8hdszrq8yhnklx6w1r1mf55061kalw3iq35gafa84"; |
|
842 | 839 | }; |
|
843 | 840 | format = "setuptools"; |
|
844 | 841 | doCheck = false; |
|
845 | 842 | buildInputs = []; |
|
846 | 843 | checkInputs = []; |
|
847 | 844 | nativeBuildInputs = []; |
|
848 | 845 | propagatedBuildInputs = []; |
|
849 | 846 | meta = { |
|
850 | 847 | license = [ { fullName = "BSD-derived (http://www.repoze.org/LICENSE.txt)"; } { fullName = "Repoze Public License"; } ]; |
|
851 | 848 | }; |
|
852 | 849 | }; |
|
853 | 850 | "rhodecode-vcsserver" = super.buildPythonPackage rec { |
|
854 | 851 | pname = "rhodecode-vcsserver"; |
|
855 | 852 | version = "5.0.0"; |
|
856 | 853 | src = ./.; |
|
857 | 854 | format = "setuptools"; |
|
858 | 855 | doCheck = false; |
|
859 | 856 | buildInputs = []; |
|
860 | 857 | checkInputs = []; |
|
861 | 858 | nativeBuildInputs = [ |
|
862 | 859 | self."pytest-runner" |
|
863 | 860 | ]; |
|
864 | 861 | propagatedBuildInputs = [ |
|
865 | 862 | self."beautifulsoup4" |
|
866 | 863 | self."configobj" |
|
867 | 864 | self."cov-core" |
|
868 | 865 | self."coverage" |
|
869 | 866 | self."decorator" |
|
870 | 867 | self."dogpile.cache" |
|
871 | 868 | self."dogpile.core" |
|
872 | 869 | self."dulwich" |
|
873 | 870 | self."gprof2dot" |
|
874 | 871 | self."gunicorn" |
|
875 | 872 | self."hg-evolve" |
|
876 | 873 | self."hgsubversion" |
|
877 | 874 | self."mercurial" |
|
878 | 875 | self."mock" |
|
879 | 876 | self."msgpack-python" |
|
880 | 877 | self."pastedeploy" |
|
881 | 878 | self."py" |
|
882 | 879 | self."pygit2" |
|
883 | 880 | self."pyramid" |
|
884 | 881 | self."pytest" |
|
885 | 882 | self."pytest-cov" |
|
886 | 883 | self."pytest-profiling" |
|
887 | 884 | self."pytest-runner" |
|
888 | 885 | self."pytest-sugar" |
|
889 | 886 | self."pytest-timeout" |
|
890 | 887 | self."redis" |
|
891 | 888 | self."repoze.lru" |
|
892 | 889 | self."simplejson" |
|
893 | 890 | self."six" |
|
894 | 891 | self."subvertpy" |
|
895 | 892 | self."translationstring" |
|
896 | 893 | self."waitress" |
|
897 | 894 | self."webob" |
|
898 | 895 | self."webtest" |
|
899 | 896 | self."zope.deprecation" |
|
900 | 897 | self."zope.interface" |
|
901 | 898 | ]; |
|
902 | 899 | meta = { |
|
903 | 900 | license = [ { fullName = "GNU General Public License v3 or later (GPLv3+)"; } { fullName = "GPL V3"; } ]; |
|
904 | 901 | }; |
|
905 | 902 | }; |
|
906 | 903 | "scandir" = super.buildPythonPackage rec { |
|
907 | 904 | pname = "scandir"; |
|
908 | 905 | version = "1.10.0"; |
|
909 | 906 | src = fetchurl { |
|
910 | 907 | url = "https://files.pythonhosted.org/packages/df/f5/9c052db7bd54d0cbf1bc0bb6554362bba1012d03e5888950a4f5c5dadc4e/scandir-1.10.0.tar.gz"; |
|
911 | 908 | sha256 = "1bkqwmf056pkchf05ywbnf659wqlp6lljcdb0y88wr9f0vv32ijd"; |
|
912 | 909 | }; |
|
913 | 910 | format = "setuptools"; |
|
914 | 911 | doCheck = false; |
|
915 | 912 | buildInputs = []; |
|
916 | 913 | checkInputs = []; |
|
917 | 914 | nativeBuildInputs = []; |
|
918 | 915 | propagatedBuildInputs = []; |
|
919 | 916 | meta = { |
|
920 | 917 | license = [ pkgs.lib.licenses.bsdOriginal { fullName = "New BSD License"; } ]; |
|
921 | 918 | }; |
|
922 | 919 | }; |
|
923 | 920 | "setproctitle" = super.buildPythonPackage rec { |
|
924 | 921 | pname = "setproctitle"; |
|
925 | 922 | version = "1.1.10"; |
|
926 | 923 | src = fetchurl { |
|
927 | 924 | url = "https://files.pythonhosted.org/packages/5a/0d/dc0d2234aacba6cf1a729964383e3452c52096dc695581248b548786f2b3/setproctitle-1.1.10.tar.gz"; |
|
928 | 925 | sha256 = "163kplw9dcrw0lffq1bvli5yws3rngpnvrxrzdw89pbphjjvg0v2"; |
|
929 | 926 | }; |
|
930 | 927 | format = "setuptools"; |
|
931 | 928 | doCheck = false; |
|
932 | 929 | buildInputs = []; |
|
933 | 930 | checkInputs = []; |
|
934 | 931 | nativeBuildInputs = []; |
|
935 | 932 | propagatedBuildInputs = []; |
|
936 | 933 | meta = { |
|
937 | 934 | license = [ pkgs.lib.licenses.bsdOriginal ]; |
|
938 | 935 | }; |
|
939 | 936 | }; |
|
940 | 937 | "setuptools-git" = super.buildPythonPackage rec { |
|
941 | 938 | pname = "setuptools-git"; |
|
942 | 939 | version = "1.2"; |
|
943 | 940 | src = fetchurl { |
|
944 | 941 | url = "https://files.pythonhosted.org/packages/05/97/dd99fa9c0d9627a7b3c103a00f1566d8193aca8d473884ed258cca82b06f/setuptools_git-1.2-py2.py3-none-any.whl"; |
|
945 | 942 | sha256 = "1yjc97r57mfsrvb3yx45cc1aryf6m9kbkmrhlfsv95vxrv64sxp7"; |
|
946 | 943 | }; |
|
947 | 944 | format = "wheel"; |
|
948 | 945 | doCheck = false; |
|
949 | 946 | buildInputs = []; |
|
950 | 947 | checkInputs = []; |
|
951 | 948 | nativeBuildInputs = []; |
|
952 | 949 | propagatedBuildInputs = []; |
|
953 | 950 | meta = { |
|
954 | 951 | license = [ pkgs.lib.licenses.bsdOriginal ]; |
|
955 | 952 | }; |
|
956 | 953 | }; |
|
957 | 954 | "setuptools-scm" = super.buildPythonPackage rec { |
|
958 | 955 | pname = "setuptools-scm"; |
|
959 | 956 | version = "4.1.2"; |
|
960 | 957 | src = fetchurl { |
|
961 | 958 | url = "https://files.pythonhosted.org/packages/ad/d3/e54f8b4cde0f6fb4f231629f570c1a33ded18515411dee6df6fe363d976f/setuptools_scm-4.1.2-py2.py3-none-any.whl"; |
|
962 | 959 | sha256 = "09jqn78qd7w5hik4v3hg4mw3byl0jm8hkwd5swgcxxx5xcp8w9b9"; |
|
963 | 960 | }; |
|
964 | 961 | format = "wheel"; |
|
965 | 962 | doCheck = false; |
|
966 | 963 | buildInputs = []; |
|
967 | 964 | checkInputs = []; |
|
968 | 965 | nativeBuildInputs = []; |
|
969 | 966 | propagatedBuildInputs = [ |
|
970 | 967 | self."setuptools" |
|
971 | 968 | ]; |
|
972 | 969 | meta = { |
|
973 | 970 | license = [ pkgs.lib.licenses.mit ]; |
|
974 | 971 | }; |
|
975 | 972 | }; |
|
976 | 973 | "simplejson" = super.buildPythonPackage rec { |
|
977 | 974 | pname = "simplejson"; |
|
978 | 975 | version = "3.16.0"; |
|
979 | 976 | src = fetchurl { |
|
980 | 977 | url = "https://files.pythonhosted.org/packages/e3/24/c35fb1c1c315fc0fffe61ea00d3f88e85469004713dab488dee4f35b0aff/simplejson-3.16.0.tar.gz"; |
|
981 | 978 | sha256 = "19cws1syk8jzq2pw43878dv6fjkb0ifvjpx0i9aajix6kc9jkwxi"; |
|
982 | 979 | }; |
|
983 | 980 | format = "setuptools"; |
|
984 | 981 | doCheck = false; |
|
985 | 982 | buildInputs = []; |
|
986 | 983 | checkInputs = []; |
|
987 | 984 | nativeBuildInputs = []; |
|
988 | 985 | propagatedBuildInputs = []; |
|
989 | 986 | meta = { |
|
990 | 987 | license = [ pkgs.lib.licenses.mit { fullName = "Academic Free License (AFL)"; } ]; |
|
991 | 988 | }; |
|
992 | 989 | }; |
|
993 | 990 | "six" = super.buildPythonPackage rec { |
|
994 | 991 | pname = "six"; |
|
995 | 992 | version = "1.15.0"; |
|
996 | 993 | src = fetchurl { |
|
997 | 994 | url = "https://files.pythonhosted.org/packages/6b/34/415834bfdafca3c5f451532e8a8d9ba89a21c9743a0c59fbd0205c7f9426/six-1.15.0.tar.gz"; |
|
998 | 995 | sha256 = "0n82108wxn5giff50hd9ykjhd3zl7cndabdasi6568yvbh1rqqrh"; |
|
999 | 996 | }; |
|
1000 | 997 | format = "setuptools"; |
|
1001 | 998 | doCheck = false; |
|
1002 | 999 | buildInputs = []; |
|
1003 | 1000 | checkInputs = []; |
|
1004 | 1001 | nativeBuildInputs = []; |
|
1005 | 1002 | propagatedBuildInputs = []; |
|
1006 | 1003 | meta = { |
|
1007 | 1004 | license = [ pkgs.lib.licenses.mit ]; |
|
1008 | 1005 | }; |
|
1009 | 1006 | }; |
|
1010 | 1007 | "subvertpy" = super.buildPythonPackage rec { |
|
1011 | 1008 | pname = "subvertpy"; |
|
1012 | 1009 | version = "0.10.1"; |
|
1013 | 1010 | src = fetchurl { |
|
1014 | 1011 | url = "https://files.pythonhosted.org/packages/9d/76/99fa82affce75f5ac0f7dbe513796c3f37311ace0c68e1b063683b4f9b99/subvertpy-0.10.1.tar.gz"; |
|
1015 | 1012 | sha256 = "061ncy9wjz3zyv527avcrdyk0xygyssyy7p1644nhzhwp8zpybij"; |
|
1016 | 1013 | }; |
|
1017 | 1014 | format = "setuptools"; |
|
1018 | 1015 | doCheck = false; |
|
1019 | 1016 | buildInputs = []; |
|
1020 | 1017 | checkInputs = []; |
|
1021 | 1018 | nativeBuildInputs = []; |
|
1022 | 1019 | propagatedBuildInputs = []; |
|
1023 | 1020 | meta = { |
|
1024 | 1021 | license = [ pkgs.lib.licenses.gpl2Plus pkgs.lib.licenses.lgpl21Plus ]; |
|
1025 | 1022 | }; |
|
1026 | 1023 | }; |
|
1027 | 1024 | "termcolor" = super.buildPythonPackage rec { |
|
1028 | 1025 | pname = "termcolor"; |
|
1029 | 1026 | version = "1.1.0"; |
|
1030 | 1027 | src = fetchurl { |
|
1031 | 1028 | url = "https://files.pythonhosted.org/packages/8a/48/a76be51647d0eb9f10e2a4511bf3ffb8cc1e6b14e9e4fab46173aa79f981/termcolor-1.1.0.tar.gz"; |
|
1032 | 1029 | sha256 = "0fv1vq14rpqwgazxg4981904lfyp84mnammw7y046491cv76jv8x"; |
|
1033 | 1030 | }; |
|
1034 | 1031 | format = "setuptools"; |
|
1035 | 1032 | doCheck = false; |
|
1036 | 1033 | buildInputs = []; |
|
1037 | 1034 | checkInputs = []; |
|
1038 | 1035 | nativeBuildInputs = []; |
|
1039 | 1036 | propagatedBuildInputs = []; |
|
1040 | 1037 | meta = { |
|
1041 | 1038 | license = [ pkgs.lib.licenses.mit ]; |
|
1042 | 1039 | }; |
|
1043 | 1040 | }; |
|
1044 | 1041 | "toml" = super.buildPythonPackage rec { |
|
1045 | 1042 | pname = "toml"; |
|
1046 | 1043 | version = "0.10.1"; |
|
1047 | 1044 | src = fetchurl { |
|
1048 | 1045 | url = "https://files.pythonhosted.org/packages/da/24/84d5c108e818ca294efe7c1ce237b42118643ce58a14d2462b3b2e3800d5/toml-0.10.1.tar.gz"; |
|
1049 | 1046 | sha256 = "03wbqm5cn685cwx2664hjdpz370njl7lf0yal8s0dkp5w4mn2swj"; |
|
1050 | 1047 | }; |
|
1051 | 1048 | format = "setuptools"; |
|
1052 | 1049 | doCheck = false; |
|
1053 | 1050 | buildInputs = []; |
|
1054 | 1051 | checkInputs = []; |
|
1055 | 1052 | nativeBuildInputs = []; |
|
1056 | 1053 | propagatedBuildInputs = []; |
|
1057 | 1054 | meta = { |
|
1058 | 1055 | license = [ pkgs.lib.licenses.mit ]; |
|
1059 | 1056 | }; |
|
1060 | 1057 | }; |
|
1061 | 1058 | "translationstring" = super.buildPythonPackage rec { |
|
1062 | 1059 | pname = "translationstring"; |
|
1063 | 1060 | version = "1.3"; |
|
1064 | 1061 | src = fetchurl { |
|
1065 | 1062 | url = "https://files.pythonhosted.org/packages/5e/eb/bee578cc150b44c653b63f5ebe258b5d0d812ddac12497e5f80fcad5d0b4/translationstring-1.3.tar.gz"; |
|
1066 | 1063 | sha256 = "0bdpcnd9pv0131dl08h4zbcwmgc45lyvq3pa224xwan5b3x4rr2f"; |
|
1067 | 1064 | }; |
|
1068 | 1065 | format = "setuptools"; |
|
1069 | 1066 | doCheck = false; |
|
1070 | 1067 | buildInputs = []; |
|
1071 | 1068 | checkInputs = []; |
|
1072 | 1069 | nativeBuildInputs = []; |
|
1073 | 1070 | propagatedBuildInputs = []; |
|
1074 | 1071 | meta = { |
|
1075 | 1072 | license = [ { fullName = "BSD-like (http://repoze.org/license.html)"; } ]; |
|
1076 | 1073 | }; |
|
1077 | 1074 | }; |
|
1078 | 1075 | "venusian" = super.buildPythonPackage rec { |
|
1079 | 1076 | pname = "venusian"; |
|
1080 | 1077 | version = "1.2.0"; |
|
1081 | 1078 | src = fetchurl { |
|
1082 | 1079 | url = "https://files.pythonhosted.org/packages/7e/6f/40a9d43ac77cb51cb62be5b5662d170f43f8037bdc4eab56336c4ca92bb7/venusian-1.2.0.tar.gz"; |
|
1083 | 1080 | sha256 = "0ghyx66g8ikx9nx1mnwqvdcqm11i1vlq0hnvwl50s48bp22q5v34"; |
|
1084 | 1081 | }; |
|
1085 | 1082 | format = "setuptools"; |
|
1086 | 1083 | doCheck = false; |
|
1087 | 1084 | buildInputs = []; |
|
1088 | 1085 | checkInputs = []; |
|
1089 | 1086 | nativeBuildInputs = []; |
|
1090 | 1087 | propagatedBuildInputs = []; |
|
1091 | 1088 | meta = { |
|
1092 | 1089 | license = [ { fullName = "BSD-derived (http://www.repoze.org/LICENSE.txt)"; } ]; |
|
1093 | 1090 | }; |
|
1094 | 1091 | }; |
|
1095 | 1092 | "waitress" = super.buildPythonPackage rec { |
|
1096 | 1093 | pname = "waitress"; |
|
1097 | 1094 | version = "1.4.4"; |
|
1098 | 1095 | src = fetchurl { |
|
1099 | 1096 | url = "https://files.pythonhosted.org/packages/9a/32/90a74e5ab5fd4fa4bd051a51eb9a8f63bbbf3e00a00dc5cf73ebd4ddb46a/waitress-1.4.4.tar.gz"; |
|
1100 | 1097 | sha256 = "0qdjrwgfah09izsvll05c75fyfj1wmzpmblpn1nar1vli983dd0v"; |
|
1101 | 1098 | }; |
|
1102 | 1099 | format = "setuptools"; |
|
1103 | 1100 | doCheck = false; |
|
1104 | 1101 | buildInputs = []; |
|
1105 | 1102 | checkInputs = []; |
|
1106 | 1103 | nativeBuildInputs = [ |
|
1107 | 1104 | self."setuptools" |
|
1108 | 1105 | ]; |
|
1109 | 1106 | propagatedBuildInputs = []; |
|
1110 | 1107 | meta = { |
|
1111 | 1108 | license = [ pkgs.lib.licenses.zpl21 ]; |
|
1112 | 1109 | }; |
|
1113 | 1110 | }; |
|
1114 | 1111 | "wcwidth" = super.buildPythonPackage rec { |
|
1115 | 1112 | pname = "wcwidth"; |
|
1116 | 1113 | version = "0.2.4"; |
|
1117 | 1114 | src = fetchurl { |
|
1118 | 1115 | url = "https://files.pythonhosted.org/packages/2e/30/268d9d3ed18439b6983a8e630cd52d81fd7460a152d6e801d1b8394e51a1/wcwidth-0.2.4.tar.gz"; |
|
1119 | 1116 | sha256 = "13z4a332pvrmn930y1fk4ry82mccsvjxjdpk8lk882rnw5p5nswc"; |
|
1120 | 1117 | }; |
|
1121 | 1118 | format = "setuptools"; |
|
1122 | 1119 | doCheck = false; |
|
1123 | 1120 | buildInputs = []; |
|
1124 | 1121 | checkInputs = []; |
|
1125 | 1122 | nativeBuildInputs = []; |
|
1126 | 1123 | propagatedBuildInputs = []; |
|
1127 | 1124 | meta = { |
|
1128 | 1125 | license = [ pkgs.lib.licenses.mit ]; |
|
1129 | 1126 | }; |
|
1130 | 1127 | }; |
|
1131 | 1128 | "webob" = super.buildPythonPackage rec { |
|
1132 | 1129 | pname = "webob"; |
|
1133 | 1130 | version = "1.8.6"; |
|
1134 | 1131 | src = fetchurl { |
|
1135 | 1132 | url = "https://files.pythonhosted.org/packages/2a/32/5f3f43d0784bdd9392db0cb98434d7cd23a0d8a420c4d243ad4cb8517f2a/WebOb-1.8.6.tar.gz"; |
|
1136 | 1133 | sha256 = "026i3z99nr3px75isa9mbnky5i7rffiv4d124h5kxfjjsxz92fma"; |
|
1137 | 1134 | }; |
|
1138 | 1135 | format = "setuptools"; |
|
1139 | 1136 | doCheck = false; |
|
1140 | 1137 | buildInputs = []; |
|
1141 | 1138 | checkInputs = []; |
|
1142 | 1139 | nativeBuildInputs = []; |
|
1143 | 1140 | propagatedBuildInputs = []; |
|
1144 | 1141 | meta = { |
|
1145 | 1142 | license = [ pkgs.lib.licenses.mit ]; |
|
1146 | 1143 | }; |
|
1147 | 1144 | }; |
|
1148 | 1145 | "webtest" = super.buildPythonPackage rec { |
|
1149 | 1146 | pname = "webtest"; |
|
1150 | 1147 | version = "2.0.34"; |
|
1151 | 1148 | src = fetchurl { |
|
1152 | 1149 | url = "https://files.pythonhosted.org/packages/2c/74/a0e63feee438735d628631e2b70d82280276a930637ac535479e5fad9427/WebTest-2.0.34.tar.gz"; |
|
1153 | 1150 | sha256 = "0x1y2c8z4fmpsny4hbp6ka37si2g10r5r2jwxhvv5mx7g3blq4bi"; |
|
1154 | 1151 | }; |
|
1155 | 1152 | format = "setuptools"; |
|
1156 | 1153 | doCheck = false; |
|
1157 | 1154 | buildInputs = []; |
|
1158 | 1155 | checkInputs = []; |
|
1159 | 1156 | nativeBuildInputs = []; |
|
1160 | 1157 | propagatedBuildInputs = [ |
|
1161 | 1158 | self."beautifulsoup4" |
|
1162 | 1159 | self."six" |
|
1163 | 1160 | self."waitress" |
|
1164 | 1161 | self."webob" |
|
1165 | 1162 | ]; |
|
1166 | 1163 | meta = { |
|
1167 | 1164 | license = [ pkgs.lib.licenses.mit ]; |
|
1168 | 1165 | }; |
|
1169 | 1166 | }; |
|
1170 | 1167 | "zipp" = super.buildPythonPackage rec { |
|
1171 | 1168 | pname = "zipp"; |
|
1172 | 1169 | version = "3.1.0"; |
|
1173 | 1170 | src = fetchurl { |
|
1174 | 1171 | url = "https://files.pythonhosted.org/packages/ce/8c/2c5f7dc1b418f659d36c04dec9446612fc7b45c8095cc7369dd772513055/zipp-3.1.0.tar.gz"; |
|
1175 | 1172 | sha256 = "15pxxs9gp1lcghbl5426fk823h764a5d04cra267kxlqbkby96f5"; |
|
1176 | 1173 | }; |
|
1177 | 1174 | format = "setuptools"; |
|
1178 | 1175 | doCheck = false; |
|
1179 | 1176 | buildInputs = []; |
|
1180 | 1177 | checkInputs = []; |
|
1181 | 1178 | nativeBuildInputs = [ |
|
1182 | 1179 | self."setuptools" |
|
1183 | 1180 | self."wheel" |
|
1184 | 1181 | self."setuptools-scm" |
|
1185 | 1182 | ]; |
|
1186 | 1183 | propagatedBuildInputs = []; |
|
1187 | 1184 | meta = { |
|
1188 | 1185 | license = [ pkgs.lib.licenses.mit ]; |
|
1189 | 1186 | }; |
|
1190 | 1187 | }; |
|
1191 | 1188 | "zope.deprecation" = super.buildPythonPackage rec { |
|
1192 | 1189 | pname = "zope.deprecation"; |
|
1193 | 1190 | version = "4.4.0"; |
|
1194 | 1191 | src = fetchurl { |
|
1195 | 1192 | url = "https://files.pythonhosted.org/packages/34/da/46e92d32d545dd067b9436279d84c339e8b16de2ca393d7b892bc1e1e9fd/zope.deprecation-4.4.0.tar.gz"; |
|
1196 | 1193 | sha256 = "1pz2cv7gv9y1r3m0bdv7ks1alagmrn5msm5spwdzkb2by0w36i8d"; |
|
1197 | 1194 | }; |
|
1198 | 1195 | format = "setuptools"; |
|
1199 | 1196 | doCheck = false; |
|
1200 | 1197 | buildInputs = []; |
|
1201 | 1198 | checkInputs = []; |
|
1202 | 1199 | nativeBuildInputs = []; |
|
1203 | 1200 | propagatedBuildInputs = [ |
|
1204 | 1201 | self."setuptools" |
|
1205 | 1202 | ]; |
|
1206 | 1203 | meta = { |
|
1207 | 1204 | license = [ pkgs.lib.licenses.zpl21 ]; |
|
1208 | 1205 | }; |
|
1209 | 1206 | }; |
|
1210 | 1207 | "zope.interface" = super.buildPythonPackage rec { |
|
1211 | 1208 | pname = "zope.interface"; |
|
1212 | 1209 | version = "5.1.0"; |
|
1213 | 1210 | src = fetchurl { |
|
1214 | 1211 | url = "https://files.pythonhosted.org/packages/af/d2/9675302d7ced7ec721481f4bbecd28a390a8db4ff753d28c64057b975396/zope.interface-5.1.0.tar.gz"; |
|
1215 | 1212 | sha256 = "03nrl6b8cb600dnnh46y149awvrm0gxyqgwq5hdw3lvys8mw9r20"; |
|
1216 | 1213 | }; |
|
1217 | 1214 | format = "setuptools"; |
|
1218 | 1215 | doCheck = false; |
|
1219 | 1216 | buildInputs = []; |
|
1220 | 1217 | checkInputs = []; |
|
1221 | 1218 | nativeBuildInputs = []; |
|
1222 | 1219 | propagatedBuildInputs = [ |
|
1223 | 1220 | self."setuptools" |
|
1224 | 1221 | ]; |
|
1225 | 1222 | meta = { |
|
1226 | 1223 | license = [ pkgs.lib.licenses.zpl21 ]; |
|
1227 | 1224 | }; |
|
1228 | 1225 | }; |
|
1229 | 1226 | } |
@@ -1,62 +1,62 b'' | |||
|
1 | 1 | { pkgs ? (import <nixpkgs> {}) |
|
2 |
, pythonPackages ? "python3 |
|
|
2 | , pythonPackages ? "python38Packages" | |
|
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 | 31 | pip2nix.cython |
|
32 | 32 | pip2nix.flit |
|
33 | 33 | |
|
34 | 34 | # compile using ffi |
|
35 | 35 | pkgs.libffi |
|
36 | 36 | |
|
37 | 37 | pkgs.apr |
|
38 | 38 | pkgs.aprutil |
|
39 | 39 | ]; |
|
40 | 40 | |
|
41 | 41 | shellHook = '' |
|
42 | 42 | runHook preShellHook |
|
43 | 43 | echo "Setting SVN_* variables" |
|
44 | 44 | export SVN_LIBRARY_PATH=${pkgs.subversion}/lib |
|
45 | 45 | export SVN_HEADER_PATH=${pkgs.subversion.dev}/include |
|
46 | 46 | runHook postShellHook |
|
47 | 47 | ''; |
|
48 | 48 | |
|
49 | 49 | preShellHook = '' |
|
50 | 50 | echo "Starting Generate Shell" |
|
51 | 51 | # set unpack source date to 1980 to fix ZIP problems that does not support <1980 |
|
52 | 52 | export SOURCE_DATE_EPOCH=315532800 |
|
53 | 53 | export TMPDIR=/tmp |
|
54 | 54 | export LOCALE_ARCHIVE="${pkgs.glibcLocales}/lib/locale/locale-archive" |
|
55 | 55 | export LC_ALL="en_US.UTF-8" |
|
56 | 56 | export PYCURL_SSL_LIBRARY=openssl |
|
57 | 57 | |
|
58 | 58 | # Custom prompt to distinguish from other dev envs. |
|
59 | 59 | export PS1="\n\[\033[1;32m\][pip2nix-generate-shell]$\[\033[0m\] " |
|
60 | 60 | |
|
61 | 61 | ''; |
|
62 | 62 | } |
@@ -1,50 +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 ? "python3 |
|
|
5 | , pythonPackages ? "python38Packages" | |
|
6 | 6 | , doCheck ? false |
|
7 | 7 | }: |
|
8 | 8 | |
|
9 | 9 | let |
|
10 | 10 | |
|
11 | 11 | # Full runtime environment without the actual Python package |
|
12 | 12 | env = import ./default.nix { |
|
13 | 13 | inherit |
|
14 | 14 | doCheck; |
|
15 | 15 | pythonExternalOverrides = self: super: { |
|
16 | 16 | rhodecode-vcsserver = null; |
|
17 | 17 | }; |
|
18 | 18 | }; |
|
19 | 19 | |
|
20 | 20 | # The python package with full runtime environment as dependency for nix-shell |
|
21 | 21 | package = (import ./default.nix { |
|
22 | 22 | inherit |
|
23 | 23 | doCheck; |
|
24 | 24 | pythonExternalOverrides = self: super: { |
|
25 | 25 | rhodecode-vcsserver = super.rhodecode-vcsserver.overridePythonAttrs(attrs: { |
|
26 | 26 | nativeBuildInputs = with self; |
|
27 | 27 | attrs.nativeBuildInputs ++ |
|
28 | 28 | attrs.buildInputs ++ |
|
29 | 29 | attrs.propagatedBuildInputs ++ [ |
|
30 | 30 | env |
|
31 | 31 | pytest |
|
32 | 32 | ipdb |
|
33 | 33 | ipython |
|
34 | 34 | ]; |
|
35 | 35 | }); |
|
36 | 36 | }; |
|
37 | 37 | }).passthru.pythonPackages.rhodecode-vcsserver; |
|
38 | 38 | |
|
39 | 39 | in package.overridePythonAttrs(attrs: { |
|
40 | 40 | postShellHook= '' |
|
41 | 41 | # Custom prompt to distinguish from other dev envs. |
|
42 | 42 | export PS1="\n\[\033[1;32m\][vcsserver-shell:\w]$\[\033[0m\] " |
|
43 | 43 | |
|
44 | 44 | # Set locale |
|
45 | 45 | export LOCALE_ARCHIVE="${pkgs.glibcLocales}/lib/locale/locale-archive" |
|
46 | 46 | export LC_ALL="en_US.UTF-8" |
|
47 | 47 | |
|
48 | 48 | ''; |
|
49 | 49 | |
|
50 | 50 | }) |
General Comments 0
You need to be logged in to leave comments.
Login now