##// END OF EJS Templates
oss-licenses: Added various license overrides.
johbo -
r202:509a58c9 default
parent child Browse files
Show More
@@ -8,10 +8,28 b''
8 8
9 9 let
10 10 sed = "sed -i";
11 localLicenses = {
12 repoze = {
13 fullName = "Repoze License";
14 url = http://www.repoze.org/LICENSE.txt;
15 };
16 };
11 17 in
12 18
13 19 self: super: {
14 20
21 appenlight-client = super.appenlight-client.override (attrs: {
22 meta = {
23 license = [ pkgs.lib.licenses.bsdOriginal ];
24 };
25 });
26
27 future = super.future.override (attrs: {
28 meta = {
29 license = [ pkgs.lib.licenses.mit ];
30 };
31 });
32
15 33 gnureadline = super.gnureadline.override (attrs: {
16 34 buildInputs = attrs.buildInputs ++ [
17 35 pkgs.ncurses
@@ -72,6 +90,11 b' self: super: {'
72 90 propagatedBuildInputs = attrs.propagatedBuildInputs ++ [
73 91 pkgs.postgresql
74 92 ];
93 # TODO:
94 # - https://stackoverflow.com/questions/7751445/can-i-bundle-psycopg2-with-a-closed-source-django-application-using-py2exe
95 meta = {
96 license = pkgs.lib.licenses.lgpl3Plus;
97 };
75 98 });
76 99
77 100 pycurl = super.pycurl.override (attrs: {
@@ -83,6 +106,10 b' self: super: {'
83 106 substituteInPlace setup.py --replace '--static-libs' '--libs'
84 107 export PYCURL_SSL_LIBRARY=openssl
85 108 '';
109 meta = {
110 # TODO: It is LGPL and MIT
111 license = pkgs.lib.licenses.mit;
112 };
86 113 });
87 114
88 115 Pylons = super.Pylons.override (attrs: {
@@ -101,6 +128,9 b' self: super: {'
101 128 # confuses pserve.
102 129 ${sed} '/import sys; sys.argv/d' $out/bin/.pserve-wrapped
103 130 '';
131 meta = {
132 license = localLicenses.repoze;
133 };
104 134 });
105 135
106 136 Pyro4 = super.Pyro4.override (attrs: {
@@ -117,6 +147,9 b' self: super: {'
117 147 propagatedBuildInputs = [
118 148 pkgs.sqlite
119 149 ];
150 meta = {
151 license = [ pkgs.lib.licenses.zlib pkgs.lib.licenses.libpng ];
152 };
120 153 });
121 154
122 155 pytest-runner = super.pytest-runner.override (attrs: {
@@ -168,6 +201,67 b' self: super: {'
168 201 };
169 202 });
170 203
204 amqplib = super.amqplib.override (attrs: {
205 meta = {
206 license = pkgs.lib.licenses.lgpl3;
207 };
208 });
209
210 docutils = super.docutils.override (attrs: {
211 meta = {
212 license = pkgs.lib.licenses.bsd2;
213 };
214 });
215
216 colander = super.colander.override (attrs: {
217 meta = {
218 license = localLicenses.repoze;
219 };
220 });
221
222 pyramid-beaker = super.pyramid-beaker.override (attrs: {
223 meta = {
224 license = localLicenses.repoze;
225 };
226 });
227
228 pyramid-mako = super.pyramid-mako.override (attrs: {
229 meta = {
230 license = localLicenses.repoze;
231 };
232 });
233
234 repoze.lru = super.repoze.lru.override (attrs: {
235 meta = {
236 license = localLicenses.repoze;
237 };
238 });
239
240 recaptcha-client = super.recaptcha-client.override (attrs: {
241 meta = {
242 # TODO: It is MIT/X11
243 license = pkgs.lib.licenses.mit;
244 };
245 });
246
247 python-editor = super.python-editor.override (attrs: {
248 meta = {
249 license = pkgs.lib.licenses.asl20;
250 };
251 });
252
253 translationstring = super.translationstring.override (attrs: {
254 meta = {
255 license = localLicenses.repoze;
256 };
257 });
258
259 venusian = super.venusian.override (attrs: {
260 meta = {
261 license = localLicenses.repoze;
262 };
263 });
264
171 265 # Avoid that setuptools is replaced, this leads to trouble
172 266 # with buildPythonPackage.
173 267 setuptools = basePythonPackages.setuptools;
General Comments 0
You need to be logged in to leave comments. Login now