mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
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:
parent
46e44ae7c4
commit
46ef4f6910
1 changed files with 83 additions and 3 deletions
|
@ -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 {
|
bcdoc = buildPythonPackage rec {
|
||||||
name = "bcdoc-0.12.1";
|
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 {
|
dpkt = buildPythonPackage rec {
|
||||||
name = "dpkt-1.8";
|
name = "dpkt-1.8";
|
||||||
|
@ -1807,6 +1837,7 @@ rec {
|
||||||
propagatedBuildInputs = [ pythonPackages.pycurl ];
|
propagatedBuildInputs = [ pythonPackages.pycurl ];
|
||||||
|
|
||||||
});
|
});
|
||||||
|
# */
|
||||||
|
|
||||||
logilab_astng = buildPythonPackage rec {
|
logilab_astng = buildPythonPackage rec {
|
||||||
name = "logilab-astng-0.24.3";
|
name = "logilab-astng-0.24.3";
|
||||||
|
@ -8258,11 +8289,13 @@ rec {
|
||||||
|
|
||||||
|
|
||||||
tornado = buildPythonPackage rec {
|
tornado = buildPythonPackage rec {
|
||||||
name = "tornado-3.1.1";
|
name = "tornado-3.2";
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ backports_ssl_match_hostname_3_4_0_2 ];
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://pypi.python.org/packages/source/t/tornado/${name}.tar.gz";
|
url = "https://pypi.python.org/packages/source/t/tornado/${name}.tar.gz";
|
||||||
sha256 = "1ipx23ix8hyd88rywmwr7bfdgkvkdac87xq3f9l5vkm0wjzh8n9l";
|
md5 = "bd83cee5f1a5c5e139e87996d00b251b";
|
||||||
};
|
};
|
||||||
|
|
||||||
doCheck = false;
|
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
|
}); in pythonPackages
|
||||||
|
|
Loading…
Reference in a new issue