import thumbor and dependencies:

derpconf, backports_ssl_match_hostname_3_4_0_2, thumborPexif,
upgrade tornado to 3.2 (that contains security fixes)
This commit is contained in:
Vladimir Kirillov 2014-03-31 09:59:04 +08:00
parent 46e44ae7c4
commit 46ef4f6910

View file

@ -460,6 +460,20 @@ rec {
};
});
backports_ssl_match_hostname_3_4_0_2 = pythonPackages.buildPythonPackage rec {
name = "backports.ssl_match_hostname-3.4.0.2";
src = fetchurl {
url = "https://pypi.python.org/packages/source/b/backports.ssl_match_hostname/backports.ssl_match_hostname-3.4.0.2.tar.gz";
md5 = "788214f20214c64631f0859dc79f23c6";
};
meta = {
description = "The Secure Sockets layer is only actually *secure*";
homepage = http://bitbucket.org/brandon/backports.ssl_match_hostname;
};
};
bcdoc = buildPythonPackage rec {
name = "bcdoc-0.12.1";
@ -1484,6 +1498,22 @@ rec {
};
};
derpconf = pythonPackages.buildPythonPackage rec {
name = "derpconf-0.4.9";
propagatedBuildInputs = [ six ];
src = fetchurl {
url = "https://pypi.python.org/packages/source/d/derpconf/${name}.tar.gz";
md5 = "a164807d7bf0c4adf1de781305f29b82";
};
meta = {
description = "derpconf abstracts loading configuration files for your app";
homepage = https://github.com/globocom/derpconf;
license = licenses.mit;
};
};
dpkt = buildPythonPackage rec {
name = "dpkt-1.8";
@ -1807,6 +1837,7 @@ rec {
propagatedBuildInputs = [ pythonPackages.pycurl ];
});
# */
logilab_astng = buildPythonPackage rec {
name = "logilab-astng-0.24.3";
@ -8258,11 +8289,13 @@ rec {
tornado = buildPythonPackage rec {
name = "tornado-3.1.1";
name = "tornado-3.2";
propagatedBuildInputs = [ backports_ssl_match_hostname_3_4_0_2 ];
src = fetchurl {
url = "http://pypi.python.org/packages/source/t/tornado/${name}.tar.gz";
sha256 = "1ipx23ix8hyd88rywmwr7bfdgkvkdac87xq3f9l5vkm0wjzh8n9l";
url = "https://pypi.python.org/packages/source/t/tornado/${name}.tar.gz";
md5 = "bd83cee5f1a5c5e139e87996d00b251b";
};
doCheck = false;
@ -8834,4 +8867,51 @@ rec {
};
};
thumbor = pythonPackages.buildPythonPackage rec {
name = "thumbor-4.0.4";
propagatedBuildInputs = [
tornado
pycrypto
pycurl
pillow
derpconf
python_magic
thumborPexif
(pkgs.opencv.override {
gtk = null;
glib = null;
xineLib = null;
gstreamer = null;
ffmpeg = null;
}) ];
src = fetchurl {
url = "https://pypi.python.org/packages/source/t/thumbor/${name}.tar.gz";
md5 = "cf639a1cc57ee287b299ace450444408";
};
meta = {
description = "Thumbor is a smart imaging service. It enables on-demand crop, resizing and flipping of images.";
homepage = https://github.com/globocom/thumbor/wiki;
license = licenses.mit;
};
};
thumborPexif = pythonPackages.buildPythonPackage rec {
name = "thumbor-pexif-0.14";
src = fetchurl {
url = "https://pypi.python.org/packages/source/t/thumbor-pexif/${name}.tar.gz";
md5 = "fb4cdb60f4a0bead5193fb483ccd3430";
};
meta = {
description = "Module to parse and edit the EXIF data tags in a JPEG image";
homepage = http://www.benno.id.au/code/pexif/;
license = licenses.mit;
};
};
}); in pythonPackages