Show More
@@ -0,0 +1,28 b'' | |||||
|
1 | ||||
|
2 | ============================== | |||
|
3 | Generate the Nix expressions | |||
|
4 | ============================== | |||
|
5 | ||||
|
6 | Details can be found in the repository of `RhodeCode Enterprise CE`_ inside of | |||
|
7 | the file `docs/contributing/dependencies.rst`. | |||
|
8 | ||||
|
9 | Start the environment as follows: | |||
|
10 | ||||
|
11 | .. code:: shell | |||
|
12 | ||||
|
13 | nix-shell pkgs/shell-generate.nix | |||
|
14 | ||||
|
15 | ||||
|
16 | Python dependencies | |||
|
17 | =================== | |||
|
18 | ||||
|
19 | .. code:: shell | |||
|
20 | ||||
|
21 | pip2nix generate --licenses | |||
|
22 | # or faster | |||
|
23 | nix-shell pkgs/shell-generate.nix --command "pip2nix generate --licenses" | |||
|
24 | ||||
|
25 | ||||
|
26 | .. Links | |||
|
27 | ||||
|
28 | .. _RhodeCode Enterprise CE: https://code.rhodecode.com/rhodecode-enterprise-ce |
@@ -0,0 +1,17 b'' | |||||
|
1 | { pkgs | |||
|
2 | , pythonPackages | |||
|
3 | }: | |||
|
4 | ||||
|
5 | rec { | |||
|
6 | pip2nix-src = pkgs.fetchzip { | |||
|
7 | url = https://github.com/johbo/pip2nix/archive/51e6fdae34d0e8ded9efeef7a8601730249687a6.tar.gz; | |||
|
8 | sha256 = "02a4jjgi7lsvf8mhrxsd56s9a3yg20081rl9bgc2m84w60v2gbz2"; | |||
|
9 | }; | |||
|
10 | ||||
|
11 | pip2nix = import pip2nix-src { | |||
|
12 | inherit | |||
|
13 | pkgs | |||
|
14 | pythonPackages; | |||
|
15 | }; | |||
|
16 | ||||
|
17 | } |
@@ -0,0 +1,37 b'' | |||||
|
1 | self: super: { | |||
|
2 | # bump GIT version | |||
|
3 | git = super.lib.overrideDerivation super.git (oldAttrs: { | |||
|
4 | name = "git-2.16.4"; | |||
|
5 | src = self.fetchurl { | |||
|
6 | url = "https://www.kernel.org/pub/software/scm/git/git-2.16.4.tar.xz"; | |||
|
7 | sha256 = "0cnmidjvbdf81mybcvxvl0c2r2x2nvq2jj2dl59dmrc7qklv0sbf"; | |||
|
8 | }; | |||
|
9 | ||||
|
10 | patches = [ | |||
|
11 | ./git_patches/docbook2texi.patch | |||
|
12 | ./git_patches/symlinks-in-bin.patch | |||
|
13 | ./git_patches/git-sh-i18n.patch | |||
|
14 | ./git_patches/ssh-path.patch | |||
|
15 | ]; | |||
|
16 | ||||
|
17 | }); | |||
|
18 | ||||
|
19 | # Override subversion derivation to | |||
|
20 | # - activate python bindings | |||
|
21 | subversion = | |||
|
22 | let | |||
|
23 | subversionWithPython = super.subversion.override { | |||
|
24 | httpSupport = true; | |||
|
25 | pythonBindings = true; | |||
|
26 | python = self.python27Packages.python; | |||
|
27 | }; | |||
|
28 | in | |||
|
29 | super.lib.overrideDerivation subversionWithPython (oldAttrs: { | |||
|
30 | name = "subversion-1.9.7"; | |||
|
31 | src = self.fetchurl { | |||
|
32 | url = "https://www.apache.org/dist/subversion/subversion-1.9.7.tar.gz"; | |||
|
33 | sha256 = "0g3cs2h008z8ymgkhbk54jp87bjh7y049rn42igj881yi2f20an7"; | |||
|
34 | }; | |||
|
35 | }); | |||
|
36 | ||||
|
37 | } |
@@ -0,0 +1,41 b'' | |||||
|
1 | { pkgs ? (import <nixpkgs> {}) | |||
|
2 | , pythonPackages ? "python27Packages" | |||
|
3 | }: | |||
|
4 | ||||
|
5 | with pkgs.lib; | |||
|
6 | ||||
|
7 | let _pythonPackages = pythonPackages; in | |||
|
8 | let | |||
|
9 | pythonPackages = getAttr _pythonPackages pkgs; | |||
|
10 | ||||
|
11 | pip2nix = import ./nix-common/pip2nix.nix { | |||
|
12 | inherit | |||
|
13 | pkgs | |||
|
14 | pythonPackages; | |||
|
15 | }; | |||
|
16 | ||||
|
17 | in | |||
|
18 | ||||
|
19 | pkgs.stdenv.mkDerivation { | |||
|
20 | name = "pip2nix-generated"; | |||
|
21 | buildInputs = [ | |||
|
22 | pip2nix.pip2nix | |||
|
23 | pythonPackages.pip-tools | |||
|
24 | pkgs.apr | |||
|
25 | pkgs.aprutil | |||
|
26 | ]; | |||
|
27 | ||||
|
28 | shellHook = '' | |||
|
29 | runHook preShellHook | |||
|
30 | echo "Setting SVN_* variables" | |||
|
31 | export SVN_LIBRARY_PATH=${pkgs.subversion}/lib | |||
|
32 | export SVN_HEADER_PATH=${pkgs.subversion.dev}/include | |||
|
33 | runHook postShellHook | |||
|
34 | ''; | |||
|
35 | ||||
|
36 | preShellHook = '' | |||
|
37 | echo "Starting Generate Shell" | |||
|
38 | # Custom prompt to distinguish from other dev envs. | |||
|
39 | export PS1="\n\[\033[1;32m\][Generate-shell:\w]$\[\033[0m\] " | |||
|
40 | ''; | |||
|
41 | } |
@@ -4,163 +4,168 b'' | |||||
4 | # derivation. For advanced tweaks to pimp up the development environment we use |
|
4 | # derivation. For advanced tweaks to pimp up the development environment we use | |
5 | # "shell.nix" so that it does not have to clutter this file. |
|
5 | # "shell.nix" so that it does not have to clutter this file. | |
6 |
|
6 | |||
7 | { pkgs ? (import <nixpkgs> {}) |
|
7 | args@ | |
8 |
|
|
8 | { pythonPackages ? "python27Packages" | |
9 | , pythonExternalOverrides ? self: super: {} |
|
9 | , pythonExternalOverrides ? self: super: {} | |
10 |
, doCheck ? |
|
10 | , doCheck ? false | |
|
11 | , ... | |||
11 | }: |
|
12 | }: | |
12 |
|
13 | |||
13 | let pkgs_ = pkgs; in |
|
14 | let pkgs_ = (import <nixpkgs> {}); in | |
14 |
|
15 | |||
15 | let |
|
16 | let | |
16 | pkgs = pkgs_.overridePackages (self: super: { |
|
|||
17 | # bump GIT version |
|
|||
18 | git = pkgs.lib.overrideDerivation pkgs_.git (oldAttrs: { |
|
|||
19 | name = "git-2.16.4"; |
|
|||
20 | src = pkgs.fetchurl { |
|
|||
21 | url = "https://www.kernel.org/pub/software/scm/git/git-2.16.4.tar.xz"; |
|
|||
22 | sha256 = "0cnmidjvbdf81mybcvxvl0c2r2x2nvq2jj2dl59dmrc7qklv0sbf"; |
|
|||
23 | }; |
|
|||
24 |
|
||||
25 | patches = [ |
|
|||
26 | ./pkgs/git_patches/docbook2texi.patch |
|
|||
27 | ./pkgs/git_patches/symlinks-in-bin.patch |
|
|||
28 | ./pkgs/git_patches/git-sh-i18n.patch |
|
|||
29 | ./pkgs/git_patches/ssh-path.patch |
|
|||
30 | ]; |
|
|||
31 |
|
||||
32 | }); |
|
|||
33 |
|
17 | |||
34 | # Override subversion derivation to |
|
18 | # TODO: Currently we ignore the passed in pkgs, instead we should use it | |
35 | # - activate python bindings |
|
19 | # somehow as a base and apply overlays to it. | |
36 | subversion = let |
|
20 | pkgs = import <nixpkgs> { | |
37 | subversionWithPython = super.subversion.override { |
|
21 | overlays = [ | |
38 | httpSupport = true; |
|
22 | (import ./pkgs/overlays.nix) | |
39 | pythonBindings = true; |
|
23 | ]; | |
40 | python = self.python27Packages.python; |
|
24 | inherit (pkgs_) | |
41 |
|
|
25 | system; | |
42 |
|
26 | }; | ||
43 | in |
|
|||
44 |
|
27 | |||
45 | pkgs.lib.overrideDerivation subversionWithPython (oldAttrs: { |
|
28 | # Works with the new python-packages, still can fallback to the old | |
46 | name = "subversion-1.9.7"; |
|
29 | # variant. | |
47 | src = pkgs.fetchurl { |
|
30 | basePythonPackagesUnfix = basePythonPackages.__unfix__ or ( | |
48 | url = "https://www.apache.org/dist/subversion/subversion-1.9.7.tar.gz"; |
|
31 | self: basePythonPackages.override (a: { inherit self; })); | |
49 | sha256 = "0g3cs2h008z8ymgkhbk54jp87bjh7y049rn42igj881yi2f20an7"; |
|
|||
50 | }; |
|
|||
51 |
|
||||
52 | }); |
|
|||
53 |
|
||||
54 | }); |
|
|||
55 |
|
32 | |||
56 | inherit (pkgs.lib) fix extends; |
|
33 | # Evaluates to the last segment of a file system path. | |
57 | basePythonPackages = with builtins; if isAttrs pythonPackages |
|
34 | basename = path: with pkgs.lib; last (splitString "/" path); | |
58 | then pythonPackages |
|
|||
59 | else getAttr pythonPackages pkgs; |
|
|||
60 |
|
35 | |||
61 | elem = builtins.elem; |
|
36 | # source code filter used as arugment to builtins.filterSource. | |
62 | basename = path: with pkgs.lib; last (splitString "/" path); |
|
|||
63 | startsWith = prefix: full: let |
|
|||
64 | actualPrefix = builtins.substring 0 (builtins.stringLength prefix) full; |
|
|||
65 | in actualPrefix == prefix; |
|
|||
66 |
|
||||
67 | src-filter = path: type: with pkgs.lib; |
|
37 | src-filter = path: type: with pkgs.lib; | |
68 | let |
|
38 | let | |
69 | ext = last (splitString "." path); |
|
39 | ext = last (splitString "." path); | |
70 | in |
|
40 | in | |
71 | !elem (basename path) [".hg" ".git" "__pycache__" ".eggs" |
|
41 | !builtins.elem (basename path) [ | |
72 | "node_modules" "build" "data" "tmp"] && |
|
42 | ".git" ".hg" "__pycache__" ".eggs" ".idea" ".dev" | |
73 | !elem ext ["egg-info" "pyc"] && |
|
43 | "bower_components" "node_modules" | |
74 | !startsWith "result" path; |
|
44 | "build" "data" "result" "tmp"] && | |
|
45 | !builtins.elem ext ["egg-info" "pyc"] && | |||
|
46 | # TODO: johbo: This check is wrong, since "path" contains an absolute path, | |||
|
47 | # it would still be good to restore it since we want to ignore "result-*". | |||
|
48 | !hasPrefix "result" path; | |||
75 |
|
49 | |||
|
50 | sources = | |||
|
51 | let | |||
|
52 | inherit (pkgs.lib) all isString attrValues; | |||
|
53 | sourcesConfig = pkgs.config.rc.sources or {}; | |||
|
54 | in | |||
|
55 | # Ensure that sources are configured as strings. Using a path | |||
|
56 | # would result in a copy into the nix store. | |||
|
57 | assert all isString (attrValues sourcesConfig); | |||
|
58 | sourcesConfig; | |||
|
59 | ||||
|
60 | version = builtins.readFile "${rhodecode-vcsserver-src}/vcsserver/VERSION"; | |||
76 | rhodecode-vcsserver-src = builtins.filterSource src-filter ./.; |
|
61 | rhodecode-vcsserver-src = builtins.filterSource src-filter ./.; | |
77 |
|
62 | |||
78 | pythonGeneratedPackages = self: basePythonPackages.override (a: { |
|
|||
79 | inherit self; |
|
|||
80 | }) // (scopedImport { |
|
|||
81 | self = self; |
|
|||
82 | super = basePythonPackages; |
|
|||
83 | inherit pkgs; |
|
|||
84 | inherit (pkgs) fetchurl fetchgit; |
|
|||
85 | } ./pkgs/python-packages.nix); |
|
|||
86 |
|
||||
87 | pythonOverrides = import ./pkgs/python-packages-overrides.nix { |
|
|||
88 | inherit basePythonPackages pkgs; |
|
|||
89 | }; |
|
|||
90 |
|
||||
91 | version = builtins.readFile ./vcsserver/VERSION; |
|
|||
92 |
|
||||
93 | pythonLocalOverrides = self: super: { |
|
63 | pythonLocalOverrides = self: super: { | |
94 | rhodecode-vcsserver = super.rhodecode-vcsserver.override (attrs: { |
|
64 | rhodecode-vcsserver = | |
95 | inherit doCheck version; |
|
65 | let | |
|
66 | releaseName = "RhodeCodeVCSServer-${version}"; | |||
|
67 | in super.rhodecode-vcsserver.override (attrs: { | |||
|
68 | inherit | |||
|
69 | doCheck | |||
|
70 | version; | |||
96 |
|
71 | |||
97 | name = "rhodecode-vcsserver-${version}"; |
|
72 | name = "rhodecode-vcsserver-${version}"; | |
98 | releaseName = "RhodeCodeVCSServer-${version}"; |
|
73 | releaseName = releaseName; | |
99 | src = rhodecode-vcsserver-src; |
|
74 | src = rhodecode-vcsserver-src; | |
100 | dontStrip = true; # prevent strip, we don't need it. |
|
75 | dontStrip = true; # prevent strip, we don't need it. | |
101 |
|
76 | |||
102 | propagatedBuildInputs = attrs.propagatedBuildInputs ++ ([ |
|
77 | # expose following attributed outside | |
103 | pkgs.git |
|
|||
104 | pkgs.subversion |
|
|||
105 | ]); |
|
|||
106 |
|
||||
107 | # TODO: johbo: Make a nicer way to expose the parts. Maybe |
|
|||
108 | # pkgs/default.nix? |
|
|||
109 | passthru = { |
|
78 | passthru = { | |
110 | pythonPackages = self; |
|
79 | pythonPackages = self; | |
111 | }; |
|
80 | }; | |
112 |
|
81 | |||
113 | # Add VCSServer bin directory to path so that tests can find 'vcsserver'. |
|
82 | propagatedBuildInputs = | |
|
83 | attrs.propagatedBuildInputs or [] ++ [ | |||
|
84 | pkgs.git | |||
|
85 | pkgs.subversion | |||
|
86 | ]; | |||
|
87 | ||||
|
88 | # Add bin directory to path so that tests can find 'vcsserver'. | |||
114 | preCheck = '' |
|
89 | preCheck = '' | |
115 | export PATH="$out/bin:$PATH" |
|
90 | export PATH="$out/bin:$PATH" | |
116 | ''; |
|
91 | ''; | |
117 |
|
92 | |||
118 | # put custom attrs here |
|
93 | # custom check phase for testing | |
119 | checkPhase = '' |
|
94 | checkPhase = '' | |
120 | runHook preCheck |
|
95 | runHook preCheck | |
121 |
PYTHONHASHSEED=random py.test -p no:sugar - |
|
96 | PYTHONHASHSEED=random py.test -vv -p no:sugar -r xw --cov-config=.coveragerc --cov=vcsserver --cov-report=term-missing vcsserver | |
122 | runHook postCheck |
|
97 | runHook postCheck | |
123 | ''; |
|
98 | ''; | |
124 |
|
99 | |||
|
100 | postCheck = '' | |||
|
101 | echo "Cleanup of vcsserver/tests" | |||
|
102 | rm -rf $out/lib/${self.python.libPrefix}/site-packages/vcsserver/tests | |||
|
103 | ''; | |||
|
104 | ||||
125 | postInstall = '' |
|
105 | postInstall = '' | |
126 | echo "Writing meta information for rccontrol to nix-support/rccontrol" |
|
106 | echo "Writing vcsserver meta information for rccontrol to nix-support/rccontrol" | |
127 | mkdir -p $out/nix-support/rccontrol |
|
107 | mkdir -p $out/nix-support/rccontrol | |
128 | cp -v vcsserver/VERSION $out/nix-support/rccontrol/version |
|
108 | cp -v vcsserver/VERSION $out/nix-support/rccontrol/version | |
129 |
echo "DONE: |
|
109 | echo "DONE: vcsserver meta information for rccontrol written" | |
|
110 | ||||
|
111 | mkdir -p $out/etc | |||
|
112 | cp configs/production.ini $out/etc | |||
|
113 | echo "DONE: saved vcsserver production.ini into $out/etc" | |||
130 |
|
114 | |||
131 | # python based programs need to be wrapped |
|
115 | # python based programs need to be wrapped | |
|
116 | mkdir -p $out/bin | |||
|
117 | ln -s ${self.python}/bin/python $out/bin | |||
132 | ln -s ${self.pyramid}/bin/* $out/bin/ |
|
118 | ln -s ${self.pyramid}/bin/* $out/bin/ | |
133 | ln -s ${self.gunicorn}/bin/gunicorn $out/bin/ |
|
119 | ln -s ${self.gunicorn}/bin/gunicorn $out/bin/ | |
134 |
|
120 | |||
135 | # Symlink version control utilities |
|
121 | # Symlink version control utilities | |
136 | # |
|
|||
137 | # We ensure that always the correct version is available as a symlink. |
|
122 | # We ensure that always the correct version is available as a symlink. | |
138 | # So that users calling them via the profile path will always use the |
|
123 | # So that users calling them via the profile path will always use the | |
139 | # correct version. |
|
124 | # correct version. | |
140 | ln -s ${self.python}/bin/python $out/bin |
|
125 | ||
141 | ln -s ${pkgs.git}/bin/git $out/bin |
|
126 | ln -s ${pkgs.git}/bin/git $out/bin | |
142 | ln -s ${self.mercurial}/bin/hg $out/bin |
|
127 | ln -s ${self.mercurial}/bin/hg $out/bin | |
143 | ln -s ${pkgs.subversion}/bin/svn* $out/bin |
|
128 | ln -s ${pkgs.subversion}/bin/svn* $out/bin | |
|
129 | echo "DONE: created symlinks into $out/bin" | |||
144 |
|
130 | |||
145 | for file in $out/bin/*; |
|
131 | for file in $out/bin/*; | |
146 | do |
|
132 | do | |
147 | wrapProgram $file \ |
|
133 | wrapProgram $file \ | |
148 |
-- |
|
134 | --prefix PATH : $PATH \ | |
149 |
-- |
|
135 | --prefix PYTHONPATH : $PYTHONPATH \ | |
150 | --set PYTHONHASHSEED random |
|
136 | --set PYTHONHASHSEED random | |
151 | done |
|
137 | done | |
|
138 | echo "DONE: vcsserver binary wrapping" | |||
152 |
|
139 | |||
153 | ''; |
|
140 | ''; | |
154 |
|
141 | |||
155 | }); |
|
142 | }); | |
156 | }; |
|
143 | }; | |
157 |
|
144 | |||
|
145 | basePythonPackages = with builtins; | |||
|
146 | if isAttrs pythonPackages then | |||
|
147 | pythonPackages | |||
|
148 | else | |||
|
149 | getAttr pythonPackages pkgs; | |||
|
150 | ||||
|
151 | pythonGeneratedPackages = import ./pkgs/python-packages.nix { | |||
|
152 | inherit pkgs; | |||
|
153 | inherit (pkgs) fetchurl fetchgit fetchhg; | |||
|
154 | }; | |||
|
155 | ||||
|
156 | pythonVCSServerOverrides = import ./pkgs/python-packages-overrides.nix { | |||
|
157 | inherit pkgs basePythonPackages; | |||
|
158 | }; | |||
|
159 | ||||
|
160 | ||||
158 | # Apply all overrides and fix the final package set |
|
161 | # Apply all overrides and fix the final package set | |
159 | myPythonPackages = |
|
162 | myPythonPackagesUnfix = with pkgs.lib; | |
160 | (fix |
|
|||
161 | (extends pythonExternalOverrides |
|
163 | (extends pythonExternalOverrides | |
162 | (extends pythonLocalOverrides |
|
164 | (extends pythonLocalOverrides | |
163 | (extends pythonOverrides |
|
165 | (extends pythonVCSServerOverrides | |
164 |
|
|
166 | (extends pythonGeneratedPackages | |
|
167 | basePythonPackagesUnfix)))); | |||
|
168 | ||||
|
169 | myPythonPackages = (pkgs.lib.fix myPythonPackagesUnfix); | |||
165 |
|
170 | |||
166 | in myPythonPackages.rhodecode-vcsserver |
|
171 | in myPythonPackages.rhodecode-vcsserver |
1 | NO CONTENT: file renamed from pkgs/patch-beaker-lock-func-debug.diff to pkgs/patch_beaker/patch-beaker-lock-func-debug.diff |
|
NO CONTENT: file renamed from pkgs/patch-beaker-lock-func-debug.diff to pkgs/patch_beaker/patch-beaker-lock-func-debug.diff |
1 | NO CONTENT: file renamed from pkgs/patch-beaker-metadata-reuse.diff to pkgs/patch_beaker/patch-beaker-metadata-reuse.diff |
|
NO CONTENT: file renamed from pkgs/patch-beaker-metadata-reuse.diff to pkgs/patch_beaker/patch-beaker-metadata-reuse.diff |
@@ -4,58 +4,49 b'' | |||||
4 | # python-packages.nix. The main objective is to add needed dependencies of C |
|
4 | # python-packages.nix. The main objective is to add needed dependencies of C | |
5 | # libraries and tweak the build instructions where needed. |
|
5 | # libraries and tweak the build instructions where needed. | |
6 |
|
6 | |||
7 | { pkgs, basePythonPackages }: |
|
7 | { pkgs | |
|
8 | , basePythonPackages | |||
|
9 | }: | |||
8 |
|
10 | |||
9 | let |
|
11 | let | |
10 | sed = "sed -i"; |
|
12 | sed = "sed -i"; | |
|
13 | ||||
11 | in |
|
14 | in | |
12 |
|
15 | |||
13 | self: super: { |
|
16 | self: super: { | |
14 |
|
17 | |||
15 | beaker = super.beaker.override (attrs: { |
|
18 | "beaker" = super."beaker".override (attrs: { | |
16 | patches = [ |
|
19 | patches = [ | |
17 | ./patch-beaker-lock-func-debug.diff |
|
20 | ./patch_beaker/patch-beaker-lock-func-debug.diff | |
18 | ./patch-beaker-metadata-reuse.diff |
|
21 | ./patch_beaker/patch-beaker-metadata-reuse.diff | |
19 | ]; |
|
22 | ]; | |
20 | }); |
|
23 | }); | |
21 |
|
24 | |||
22 |
subver |
|
25 | "hgsubversion" = super."hgsubversion".override (attrs: { | |
23 | # TODO: johbo: Remove the "or" once we drop 16.03 support |
|
|||
24 | SVN_PREFIX = "${pkgs.subversion.dev or pkgs.subversion}"; |
|
|||
25 | propagatedBuildInputs = attrs.propagatedBuildInputs ++ [ |
|
26 | propagatedBuildInputs = attrs.propagatedBuildInputs ++ [ | |
|
27 | pkgs.sqlite | |||
|
28 | #basePythonPackages.sqlite3 | |||
|
29 | self.mercurial | |||
|
30 | ]; | |||
|
31 | }); | |||
|
32 | ||||
|
33 | "subvertpy" = super."subvertpy".override (attrs: { | |||
|
34 | SVN_PREFIX = "${pkgs.subversion.dev}"; | |||
|
35 | propagatedBuildInputs = [ | |||
|
36 | pkgs.apr.dev | |||
26 | pkgs.aprutil |
|
37 | pkgs.aprutil | |
27 | pkgs.subversion |
|
38 | pkgs.subversion | |
28 | ]; |
|
39 | ]; | |
29 | preBuild = pkgs.lib.optionalString pkgs.stdenv.isDarwin '' |
|
|||
30 | ${sed} -e "s/'gcc'/'clang'/" setup.py |
|
|||
31 | ''; |
|
|||
32 | }); |
|
40 | }); | |
33 |
|
41 | |||
34 |
|
|
42 | "mercurial" = super."mercurial".override (attrs: { | |
35 |
propagatedBuildInputs = |
|
43 | propagatedBuildInputs = [ | |
36 | pkgs.sqlite |
|
44 | # self.python.modules.curses | |
37 | basePythonPackages.sqlite3 |
|
|||
38 | ]; |
|
45 | ]; | |
39 | }); |
|
46 | }); | |
40 |
|
47 | |||
41 | mercurial = super.mercurial.override (attrs: { |
|
48 | # Avoid that base packages screw up the build process | |
42 | propagatedBuildInputs = attrs.propagatedBuildInputs ++ [ |
|
49 | inherit (basePythonPackages) | |
43 | self.python.modules.curses |
|
50 | setuptools; | |
44 | ] ++ pkgs.lib.optional pkgs.stdenv.isDarwin |
|
|||
45 | pkgs.darwin.apple_sdk.frameworks.ApplicationServices; |
|
|||
46 | }); |
|
|||
47 |
|
||||
48 | pyramid = super.pyramid.override (attrs: { |
|
|||
49 | postFixup = '' |
|
|||
50 | wrapPythonPrograms |
|
|||
51 | # TODO: johbo: "wrapPython" adds this magic line which |
|
|||
52 | # confuses pserve. |
|
|||
53 | ${sed} '/import sys; sys.argv/d' $out/bin/.pserve-wrapped |
|
|||
54 | ''; |
|
|||
55 | }); |
|
|||
56 |
|
||||
57 | # Avoid that setuptools is replaced, this leads to trouble |
|
|||
58 | # with buildPythonPackage. |
|
|||
59 | setuptools = basePythonPackages.setuptools; |
|
|||
60 |
|
51 | |||
61 | } |
|
52 | } |
This diff has been collapsed as it changes many lines, (774 lines changed) Show them Hide them | |||||
@@ -1,873 +1,915 b'' | |||||
1 |
# Generated by pip2nix 0. |
|
1 | # Generated by pip2nix 0.8.0.dev1 | |
2 | # See https://github.com/johbo/pip2nix |
|
2 | # See https://github.com/johbo/pip2nix | |
3 |
|
3 | |||
4 | { |
|
4 | { pkgs, fetchurl, fetchgit, fetchhg }: | |
5 | atomicwrites = super.buildPythonPackage { |
|
5 | ||
|
6 | self: super: { | |||
|
7 | "atomicwrites" = super.buildPythonPackage { | |||
6 | name = "atomicwrites-1.1.5"; |
|
8 | name = "atomicwrites-1.1.5"; | |
7 | buildInputs = with self; []; |
|
|||
8 | doCheck = false; |
|
9 | doCheck = false; | |
9 | propagatedBuildInputs = with self; []; |
|
|||
10 | src = fetchurl { |
|
10 | src = fetchurl { | |
11 | url = "https://files.pythonhosted.org/packages/a1/e1/2d9bc76838e6e6667fde5814aa25d7feb93d6fa471bf6816daac2596e8b2/atomicwrites-1.1.5.tar.gz"; |
|
11 | url = "https://files.pythonhosted.org/packages/a1/e1/2d9bc76838e6e6667fde5814aa25d7feb93d6fa471bf6816daac2596e8b2/atomicwrites-1.1.5.tar.gz"; | |
12 | sha256 = "240831ea22da9ab882b551b31d4225591e5e447a68c5e188db5b89ca1d487585"; |
|
12 | sha256 = "11bm90fwm2avvf4f3ib8g925w7jr4m11vcsinn1bi6ns4bm32214"; | |
13 | }; |
|
13 | }; | |
14 | meta = { |
|
14 | meta = { | |
15 | license = [ pkgs.lib.licenses.mit ]; |
|
15 | license = [ pkgs.lib.licenses.mit ]; | |
16 | }; |
|
16 | }; | |
17 | }; |
|
17 | }; | |
18 | attrs = super.buildPythonPackage { |
|
18 | "attrs" = super.buildPythonPackage { | |
19 | name = "attrs-18.1.0"; |
|
19 | name = "attrs-18.1.0"; | |
20 | buildInputs = with self; []; |
|
|||
21 | doCheck = false; |
|
20 | doCheck = false; | |
22 | propagatedBuildInputs = with self; []; |
|
|||
23 | src = fetchurl { |
|
21 | src = fetchurl { | |
24 | url = "https://files.pythonhosted.org/packages/e4/ac/a04671e118b57bee87dabca1e0f2d3bda816b7a551036012d0ca24190e71/attrs-18.1.0.tar.gz"; |
|
22 | url = "https://files.pythonhosted.org/packages/e4/ac/a04671e118b57bee87dabca1e0f2d3bda816b7a551036012d0ca24190e71/attrs-18.1.0.tar.gz"; | |
25 | sha256 = "e0d0eb91441a3b53dab4d9b743eafc1ac44476296a2053b6ca3af0b139faf87b"; |
|
23 | sha256 = "0yzqz8wv3w1srav5683a55v49i0szkm47dyrnkd56fqs8j8ypl70"; | |
26 | }; |
|
24 | }; | |
27 | meta = { |
|
25 | meta = { | |
28 | license = [ pkgs.lib.licenses.mit ]; |
|
26 | license = [ pkgs.lib.licenses.mit ]; | |
29 | }; |
|
27 | }; | |
30 | }; |
|
28 | }; | |
31 | backports.shutil-get-terminal-size = super.buildPythonPackage { |
|
29 | "backports.shutil-get-terminal-size" = super.buildPythonPackage { | |
32 | name = "backports.shutil-get-terminal-size-1.0.0"; |
|
30 | name = "backports.shutil-get-terminal-size-1.0.0"; | |
33 | buildInputs = with self; []; |
|
|||
34 | doCheck = false; |
|
31 | doCheck = false; | |
35 | propagatedBuildInputs = with self; []; |
|
|||
36 | src = fetchurl { |
|
32 | src = fetchurl { | |
37 | url = "https://files.pythonhosted.org/packages/ec/9c/368086faa9c016efce5da3e0e13ba392c9db79e3ab740b763fe28620b18b/backports.shutil_get_terminal_size-1.0.0.tar.gz"; |
|
33 | url = "https://files.pythonhosted.org/packages/ec/9c/368086faa9c016efce5da3e0e13ba392c9db79e3ab740b763fe28620b18b/backports.shutil_get_terminal_size-1.0.0.tar.gz"; | |
38 | sha256 = "713e7a8228ae80341c70586d1cc0a8caa5207346927e23d09dcbcaf18eadec80"; |
|
34 | sha256 = "107cmn7g3jnbkp826zlj8rrj19fam301qvaqf0f3905f5217lgki"; | |
39 | }; |
|
35 | }; | |
40 | meta = { |
|
36 | meta = { | |
41 | license = [ pkgs.lib.licenses.mit ]; |
|
37 | license = [ pkgs.lib.licenses.mit ]; | |
42 | }; |
|
38 | }; | |
43 | }; |
|
39 | }; | |
44 | beaker = super.buildPythonPackage { |
|
40 | "beaker" = super.buildPythonPackage { | |
45 | name = "beaker-1.9.1"; |
|
41 | name = "beaker-1.9.1"; | |
46 | buildInputs = with self; []; |
|
|||
47 | doCheck = false; |
|
42 | doCheck = false; | |
48 |
propagatedBuildInputs = |
|
43 | propagatedBuildInputs = [ | |
|
44 | self."funcsigs" | |||
|
45 | ]; | |||
49 | src = fetchurl { |
|
46 | src = fetchurl { | |
50 | url = "https://files.pythonhosted.org/packages/ca/14/a626188d0d0c7b55dd7cf1902046c2743bd392a7078bb53073e13280eb1e/Beaker-1.9.1.tar.gz"; |
|
47 | url = "https://files.pythonhosted.org/packages/ca/14/a626188d0d0c7b55dd7cf1902046c2743bd392a7078bb53073e13280eb1e/Beaker-1.9.1.tar.gz"; | |
51 | sha256 = "32276ed686ab7203baf60520452903e35d1c3515f632683ea4a5881c8cd55921"; |
|
48 | sha256 = "08arsn61r255lhz6hcpn2lsiqpg30clla805ysx06wmbhvb6w9rj"; | |
52 | }; |
|
49 | }; | |
53 | meta = { |
|
50 | meta = { | |
54 | license = [ pkgs.lib.licenses.bsdOriginal ]; |
|
51 | license = [ pkgs.lib.licenses.bsdOriginal ]; | |
55 | }; |
|
52 | }; | |
56 | }; |
|
53 | }; | |
57 | beautifulsoup4 = super.buildPythonPackage { |
|
54 | "beautifulsoup4" = super.buildPythonPackage { | |
58 | name = "beautifulsoup4-4.6.0"; |
|
55 | name = "beautifulsoup4-4.6.0"; | |
59 | buildInputs = with self; []; |
|
|||
60 | doCheck = false; |
|
56 | doCheck = false; | |
61 | propagatedBuildInputs = with self; []; |
|
|||
62 | src = fetchurl { |
|
57 | src = fetchurl { | |
63 | url = "https://files.pythonhosted.org/packages/fa/8d/1d14391fdaed5abada4e0f63543fef49b8331a34ca60c88bd521bcf7f782/beautifulsoup4-4.6.0.tar.gz"; |
|
58 | url = "https://files.pythonhosted.org/packages/fa/8d/1d14391fdaed5abada4e0f63543fef49b8331a34ca60c88bd521bcf7f782/beautifulsoup4-4.6.0.tar.gz"; | |
64 | sha256 = "808b6ac932dccb0a4126558f7dfdcf41710dd44a4ef497a0bb59a77f9f078e89"; |
|
59 | sha256 = "12cf0ygpz9srpfh9gx2f9ba0swa1rzypv3sm4r0hmjyw6b4nm2w0"; | |
65 | }; |
|
60 | }; | |
66 | meta = { |
|
61 | meta = { | |
67 | license = [ pkgs.lib.licenses.mit ]; |
|
62 | license = [ pkgs.lib.licenses.mit ]; | |
68 | }; |
|
63 | }; | |
69 | }; |
|
64 | }; | |
70 | configobj = super.buildPythonPackage { |
|
65 | "configobj" = super.buildPythonPackage { | |
71 | name = "configobj-5.0.6"; |
|
66 | name = "configobj-5.0.6"; | |
72 | buildInputs = with self; []; |
|
|||
73 | doCheck = false; |
|
67 | doCheck = false; | |
74 |
propagatedBuildInputs = |
|
68 | propagatedBuildInputs = [ | |
|
69 | self."six" | |||
|
70 | ]; | |||
75 | src = fetchurl { |
|
71 | src = fetchurl { | |
76 | url = "https://files.pythonhosted.org/packages/64/61/079eb60459c44929e684fa7d9e2fdca403f67d64dd9dbac27296be2e0fab/configobj-5.0.6.tar.gz"; |
|
72 | url = "https://files.pythonhosted.org/packages/64/61/079eb60459c44929e684fa7d9e2fdca403f67d64dd9dbac27296be2e0fab/configobj-5.0.6.tar.gz"; | |
77 | sha256 = "a2f5650770e1c87fb335af19a9b7eb73fc05ccf22144eb68db7d00cd2bcb0902"; |
|
73 | sha256 = "00h9rcmws03xvdlfni11yb60bz3kxfvsj6dg6nrpzj71f03nbxd2"; | |
78 | }; |
|
74 | }; | |
79 | meta = { |
|
75 | meta = { | |
80 | license = [ pkgs.lib.licenses.bsdOriginal ]; |
|
76 | license = [ pkgs.lib.licenses.bsdOriginal ]; | |
81 | }; |
|
77 | }; | |
82 | }; |
|
78 | }; | |
83 | cov-core = super.buildPythonPackage { |
|
79 | "cov-core" = super.buildPythonPackage { | |
84 | name = "cov-core-1.15.0"; |
|
80 | name = "cov-core-1.15.0"; | |
85 | buildInputs = with self; []; |
|
|||
86 | doCheck = false; |
|
81 | doCheck = false; | |
87 |
propagatedBuildInputs = |
|
82 | propagatedBuildInputs = [ | |
|
83 | self."coverage" | |||
|
84 | ]; | |||
88 | src = fetchurl { |
|
85 | src = fetchurl { | |
89 | url = "https://files.pythonhosted.org/packages/4b/87/13e75a47b4ba1be06f29f6d807ca99638bedc6b57fa491cd3de891ca2923/cov-core-1.15.0.tar.gz"; |
|
86 | url = "https://files.pythonhosted.org/packages/4b/87/13e75a47b4ba1be06f29f6d807ca99638bedc6b57fa491cd3de891ca2923/cov-core-1.15.0.tar.gz"; | |
90 | sha256 = "4a14c67d520fda9d42b0da6134638578caae1d374b9bb462d8de00587dba764c"; |
|
87 | sha256 = "0k3np9ymh06yv1ib96sb6wfsxjkqhmik8qfsn119vnhga9ywc52a"; | |
91 | }; |
|
88 | }; | |
92 | meta = { |
|
89 | meta = { | |
93 | license = [ pkgs.lib.licenses.mit ]; |
|
90 | license = [ pkgs.lib.licenses.mit ]; | |
94 | }; |
|
91 | }; | |
95 | }; |
|
92 | }; | |
96 | coverage = super.buildPythonPackage { |
|
93 | "coverage" = super.buildPythonPackage { | |
97 | name = "coverage-3.7.1"; |
|
94 | name = "coverage-3.7.1"; | |
98 | buildInputs = with self; []; |
|
|||
99 | doCheck = false; |
|
95 | doCheck = false; | |
100 | propagatedBuildInputs = with self; []; |
|
|||
101 | src = fetchurl { |
|
96 | src = fetchurl { | |
102 | url = "https://files.pythonhosted.org/packages/09/4f/89b06c7fdc09687bca507dc411c342556ef9c5a3b26756137a4878ff19bf/coverage-3.7.1.tar.gz"; |
|
97 | url = "https://files.pythonhosted.org/packages/09/4f/89b06c7fdc09687bca507dc411c342556ef9c5a3b26756137a4878ff19bf/coverage-3.7.1.tar.gz"; | |
103 | sha256 = "d1aea1c4aa61b8366d6a42dd3650622fbf9c634ed24eaf7f379c8b970e5ed44e"; |
|
98 | sha256 = "0knlbq79g2ww6xzsyknj9rirrgrgc983dpa2d9nkdf31mb2a3bni"; | |
104 | }; |
|
99 | }; | |
105 | meta = { |
|
100 | meta = { | |
106 | license = [ pkgs.lib.licenses.bsdOriginal ]; |
|
101 | license = [ pkgs.lib.licenses.bsdOriginal ]; | |
107 | }; |
|
102 | }; | |
108 | }; |
|
103 | }; | |
109 | decorator = super.buildPythonPackage { |
|
104 | "decorator" = super.buildPythonPackage { | |
110 | name = "decorator-4.1.2"; |
|
105 | name = "decorator-4.1.2"; | |
111 | buildInputs = with self; []; |
|
|||
112 | doCheck = false; |
|
106 | doCheck = false; | |
113 | propagatedBuildInputs = with self; []; |
|
|||
114 | src = fetchurl { |
|
107 | src = fetchurl { | |
115 | url = "https://files.pythonhosted.org/packages/bb/e0/f6e41e9091e130bf16d4437dabbac3993908e4d6485ecbc985ef1352db94/decorator-4.1.2.tar.gz"; |
|
108 | url = "https://files.pythonhosted.org/packages/bb/e0/f6e41e9091e130bf16d4437dabbac3993908e4d6485ecbc985ef1352db94/decorator-4.1.2.tar.gz"; | |
116 | sha256 = "7cb64d38cb8002971710c8899fbdfb859a23a364b7c99dab19d1f719c2ba16b5"; |
|
109 | sha256 = "1d8npb11kxyi36mrvjdpcjij76l5zfyrz2f820brf0l0rcw4vdkw"; | |
117 | }; |
|
110 | }; | |
118 | meta = { |
|
111 | meta = { | |
119 | license = [ pkgs.lib.licenses.bsdOriginal { fullName = "new BSD License"; } ]; |
|
112 | license = [ pkgs.lib.licenses.bsdOriginal { fullName = "new BSD License"; } ]; | |
120 | }; |
|
113 | }; | |
121 | }; |
|
114 | }; | |
122 | dulwich = super.buildPythonPackage { |
|
115 | "dulwich" = super.buildPythonPackage { | |
123 | name = "dulwich-0.13.0"; |
|
116 | name = "dulwich-0.13.0"; | |
124 | buildInputs = with self; []; |
|
|||
125 | doCheck = false; |
|
117 | doCheck = false; | |
126 | propagatedBuildInputs = with self; []; |
|
|||
127 | src = fetchurl { |
|
118 | src = fetchurl { | |
128 | url = "https://files.pythonhosted.org/packages/84/95/732d280eee829dacc954e8109f97b47abcadcca472c2ab013e1635eb4792/dulwich-0.13.0.tar.gz"; |
|
119 | url = "https://files.pythonhosted.org/packages/84/95/732d280eee829dacc954e8109f97b47abcadcca472c2ab013e1635eb4792/dulwich-0.13.0.tar.gz"; | |
129 | sha256 = "8ed35334e22cf93e7dcfd5113d8e262041967fe4c3cead5e262c9102f3e63238"; |
|
120 | sha256 = "0f1jwvrh549c4rgavkn3wizrch904s73s4fmrxykxy9cw8s57lwf"; | |
130 | }; |
|
121 | }; | |
131 | meta = { |
|
122 | meta = { | |
132 | license = [ pkgs.lib.licenses.gpl2Plus ]; |
|
123 | license = [ pkgs.lib.licenses.gpl2Plus ]; | |
133 | }; |
|
124 | }; | |
134 | }; |
|
125 | }; | |
135 | enum34 = super.buildPythonPackage { |
|
126 | "enum34" = super.buildPythonPackage { | |
136 | name = "enum34-1.1.6"; |
|
127 | name = "enum34-1.1.6"; | |
137 | buildInputs = with self; []; |
|
|||
138 | doCheck = false; |
|
128 | doCheck = false; | |
139 | propagatedBuildInputs = with self; []; |
|
|||
140 | src = fetchurl { |
|
129 | src = fetchurl { | |
141 | url = "https://files.pythonhosted.org/packages/bf/3e/31d502c25302814a7c2f1d3959d2a3b3f78e509002ba91aea64993936876/enum34-1.1.6.tar.gz"; |
|
130 | url = "https://files.pythonhosted.org/packages/bf/3e/31d502c25302814a7c2f1d3959d2a3b3f78e509002ba91aea64993936876/enum34-1.1.6.tar.gz"; | |
142 | sha256 = "8ad8c4783bf61ded74527bffb48ed9b54166685e4230386a9ed9b1279e2df5b1"; |
|
131 | sha256 = "1cgm5ng2gcfrkrm3hc22brl6chdmv67b9zvva9sfs7gn7dwc9n4a"; | |
143 | }; |
|
132 | }; | |
144 | meta = { |
|
133 | meta = { | |
145 | license = [ pkgs.lib.licenses.bsdOriginal ]; |
|
134 | license = [ pkgs.lib.licenses.bsdOriginal ]; | |
146 | }; |
|
135 | }; | |
147 | }; |
|
136 | }; | |
148 | funcsigs = super.buildPythonPackage { |
|
137 | "funcsigs" = super.buildPythonPackage { | |
149 | name = "funcsigs-1.0.2"; |
|
138 | name = "funcsigs-1.0.2"; | |
150 | buildInputs = with self; []; |
|
|||
151 | doCheck = false; |
|
139 | doCheck = false; | |
152 | propagatedBuildInputs = with self; []; |
|
|||
153 | src = fetchurl { |
|
140 | src = fetchurl { | |
154 | url = "https://files.pythonhosted.org/packages/94/4a/db842e7a0545de1cdb0439bb80e6e42dfe82aaeaadd4072f2263a4fbed23/funcsigs-1.0.2.tar.gz"; |
|
141 | url = "https://files.pythonhosted.org/packages/94/4a/db842e7a0545de1cdb0439bb80e6e42dfe82aaeaadd4072f2263a4fbed23/funcsigs-1.0.2.tar.gz"; | |
155 | sha256 = "a7bb0f2cf3a3fd1ab2732cb49eba4252c2af4240442415b4abce3b87022a8f50"; |
|
142 | sha256 = "0l4g5818ffyfmfs1a924811azhjj8ax9xd1cffr1mzd3ycn0zfx7"; | |
156 | }; |
|
143 | }; | |
157 | meta = { |
|
144 | meta = { | |
158 | license = [ { fullName = "ASL"; } pkgs.lib.licenses.asl20 ]; |
|
145 | license = [ { fullName = "ASL"; } pkgs.lib.licenses.asl20 ]; | |
159 | }; |
|
146 | }; | |
160 | }; |
|
147 | }; | |
161 | gevent = super.buildPythonPackage { |
|
148 | "gevent" = super.buildPythonPackage { | |
162 | name = "gevent-1.2.2"; |
|
149 | name = "gevent-1.2.2"; | |
163 | buildInputs = with self; []; |
|
|||
164 | doCheck = false; |
|
150 | doCheck = false; | |
165 |
propagatedBuildInputs = |
|
151 | propagatedBuildInputs = [ | |
|
152 | self."greenlet" | |||
|
153 | ]; | |||
166 | src = fetchurl { |
|
154 | src = fetchurl { | |
167 | url = "https://files.pythonhosted.org/packages/1b/92/b111f76e54d2be11375b47b213b56687214f258fd9dae703546d30b837be/gevent-1.2.2.tar.gz"; |
|
155 | url = "https://files.pythonhosted.org/packages/1b/92/b111f76e54d2be11375b47b213b56687214f258fd9dae703546d30b837be/gevent-1.2.2.tar.gz"; | |
168 | sha256 = "4791c8ae9c57d6f153354736e1ccab1e2baf6c8d9ae5a77a9ac90f41e2966b2d"; |
|
156 | sha256 = "0bbbjvi423y9k9xagrcsimnayaqymg6f2dj76m9z3mjpkjpci4a7"; | |
169 | }; |
|
157 | }; | |
170 | meta = { |
|
158 | meta = { | |
171 | license = [ pkgs.lib.licenses.mit ]; |
|
159 | license = [ pkgs.lib.licenses.mit ]; | |
172 | }; |
|
160 | }; | |
173 | }; |
|
161 | }; | |
174 | gprof2dot = super.buildPythonPackage { |
|
162 | "gprof2dot" = super.buildPythonPackage { | |
175 | name = "gprof2dot-2017.9.19"; |
|
163 | name = "gprof2dot-2017.9.19"; | |
176 | buildInputs = with self; []; |
|
|||
177 | doCheck = false; |
|
164 | doCheck = false; | |
178 | propagatedBuildInputs = with self; []; |
|
|||
179 | src = fetchurl { |
|
165 | src = fetchurl { | |
180 | url = "https://files.pythonhosted.org/packages/9d/36/f977122502979f3dfb50704979c9ed70e6b620787942b089bf1af15f5aba/gprof2dot-2017.9.19.tar.gz"; |
|
166 | url = "https://files.pythonhosted.org/packages/9d/36/f977122502979f3dfb50704979c9ed70e6b620787942b089bf1af15f5aba/gprof2dot-2017.9.19.tar.gz"; | |
181 | sha256 = "cebc7aa2782fd813ead415ea1fae3409524343485eadc7fb60ef5bd1e810309e"; |
|
167 | sha256 = "17ih23ld2nzgc3xwgbay911l6lh96jp1zshmskm17n1gg2i7mg6f"; | |
182 | }; |
|
168 | }; | |
183 | meta = { |
|
169 | meta = { | |
184 | license = [ { fullName = "GNU Lesser General Public License v3 or later (LGPLv3+)"; } { fullName = "LGPL"; } ]; |
|
170 | license = [ { fullName = "GNU Lesser General Public License v3 or later (LGPLv3+)"; } { fullName = "LGPL"; } ]; | |
185 | }; |
|
171 | }; | |
186 | }; |
|
172 | }; | |
187 | greenlet = super.buildPythonPackage { |
|
173 | "greenlet" = super.buildPythonPackage { | |
188 | name = "greenlet-0.4.13"; |
|
174 | name = "greenlet-0.4.13"; | |
189 | buildInputs = with self; []; |
|
|||
190 | doCheck = false; |
|
175 | doCheck = false; | |
191 | propagatedBuildInputs = with self; []; |
|
|||
192 | src = fetchurl { |
|
176 | src = fetchurl { | |
193 | url = "https://files.pythonhosted.org/packages/13/de/ba92335e9e76040ca7274224942282a80d54f85e342a5e33c5277c7f87eb/greenlet-0.4.13.tar.gz"; |
|
177 | url = "https://files.pythonhosted.org/packages/13/de/ba92335e9e76040ca7274224942282a80d54f85e342a5e33c5277c7f87eb/greenlet-0.4.13.tar.gz"; | |
194 | sha256 = "0fef83d43bf87a5196c91e73cb9772f945a4caaff91242766c5916d1dd1381e4"; |
|
178 | sha256 = "1r412gfx25jrdiv444prmz5a8igrfabwnwqyr6b52ypq7ga87vqg"; | |
195 | }; |
|
179 | }; | |
196 | meta = { |
|
180 | meta = { | |
197 | license = [ pkgs.lib.licenses.mit ]; |
|
181 | license = [ pkgs.lib.licenses.mit ]; | |
198 | }; |
|
182 | }; | |
199 | }; |
|
183 | }; | |
200 | gunicorn = super.buildPythonPackage { |
|
184 | "gunicorn" = super.buildPythonPackage { | |
201 | name = "gunicorn-19.7.1"; |
|
185 | name = "gunicorn-19.7.1"; | |
202 | buildInputs = with self; []; |
|
|||
203 | doCheck = false; |
|
186 | doCheck = false; | |
204 | propagatedBuildInputs = with self; []; |
|
|||
205 | src = fetchurl { |
|
187 | src = fetchurl { | |
206 | url = "https://files.pythonhosted.org/packages/30/3a/10bb213cede0cc4d13ac2263316c872a64bf4c819000c8ccd801f1d5f822/gunicorn-19.7.1.tar.gz"; |
|
188 | url = "https://files.pythonhosted.org/packages/30/3a/10bb213cede0cc4d13ac2263316c872a64bf4c819000c8ccd801f1d5f822/gunicorn-19.7.1.tar.gz"; | |
207 | sha256 = "eee1169f0ca667be05db3351a0960765620dad53f53434262ff8901b68a1b622"; |
|
189 | sha256 = "08mnl5l1p47q5wk38d7mafnhsqk50yba0l9kvc2vwrx61jgidqgf"; | |
208 | }; |
|
190 | }; | |
209 | meta = { |
|
191 | meta = { | |
210 | license = [ pkgs.lib.licenses.mit ]; |
|
192 | license = [ pkgs.lib.licenses.mit ]; | |
211 | }; |
|
193 | }; | |
212 | }; |
|
194 | }; | |
213 | hg-evolve = super.buildPythonPackage { |
|
195 | "hg-evolve" = super.buildPythonPackage { | |
214 | name = "hg-evolve-8.0.1"; |
|
196 | name = "hg-evolve-8.0.1"; | |
215 | buildInputs = with self; []; |
|
|||
216 | doCheck = false; |
|
197 | doCheck = false; | |
217 | propagatedBuildInputs = with self; []; |
|
|||
218 | src = fetchurl { |
|
198 | src = fetchurl { | |
219 | url = "https://files.pythonhosted.org/packages/06/1a/c5c12d8f117426f05285a820ee5a23121882f5381104e86276b72598934f/hg-evolve-8.0.1.tar.gz"; |
|
199 | url = "https://files.pythonhosted.org/packages/06/1a/c5c12d8f117426f05285a820ee5a23121882f5381104e86276b72598934f/hg-evolve-8.0.1.tar.gz"; | |
220 | sha256 = "49dc14fe7322b3ded107a96e47c1f0a75a19472d4b6b7ce80b670ab25c742aaf"; |
|
200 | sha256 = "1brafifb42k71gl7qssb5m3ijnm7y30lfvm90z8xxcr2fgz19p29"; | |
221 | }; |
|
201 | }; | |
222 | meta = { |
|
202 | meta = { | |
223 | license = [ { fullName = "GPLv2+"; } ]; |
|
203 | license = [ { fullName = "GPLv2+"; } ]; | |
224 | }; |
|
204 | }; | |
225 | }; |
|
205 | }; | |
226 | hgsubversion = super.buildPythonPackage { |
|
206 | "hgsubversion" = super.buildPythonPackage { | |
227 | name = "hgsubversion-1.9.2"; |
|
207 | name = "hgsubversion-1.9.2"; | |
228 | buildInputs = with self; []; |
|
|||
229 | doCheck = false; |
|
208 | doCheck = false; | |
230 |
propagatedBuildInputs = |
|
209 | propagatedBuildInputs = [ | |
|
210 | self."mercurial" | |||
|
211 | self."subvertpy" | |||
|
212 | ]; | |||
231 | src = fetchurl { |
|
213 | src = fetchurl { | |
232 | url = "https://files.pythonhosted.org/packages/05/80/3a3cef10dd65e86528ef8d7ac57a41ebc782d0f3c6cfa4fed021aa9fbee0/hgsubversion-1.9.2.tar.gz"; |
|
214 | url = "https://files.pythonhosted.org/packages/05/80/3a3cef10dd65e86528ef8d7ac57a41ebc782d0f3c6cfa4fed021aa9fbee0/hgsubversion-1.9.2.tar.gz"; | |
233 | sha256 = "9fed1e68411130b0447d0bbd217183830f5f1eaaaa0d5aa7de24609895058998"; |
|
215 | sha256 = "16490narhq14vskml3dam8g5y3w3hdqj3g8bgm2b0c0i85l1xvcz"; | |
234 | }; |
|
216 | }; | |
235 | meta = { |
|
217 | meta = { | |
236 | license = [ pkgs.lib.licenses.gpl1 ]; |
|
218 | license = [ pkgs.lib.licenses.gpl1 ]; | |
237 | }; |
|
219 | }; | |
238 | }; |
|
220 | }; | |