From acf4f0ce69e179de8ef617a13c708bfc8598100c Mon Sep 17 00:00:00 2001 From: Vaibhav Sagar Date: Wed, 7 Jun 2017 10:20:20 +0800 Subject: [PATCH 1/2] libthumbor: 1.2.0 -> 1.3.2 --- pkgs/top-level/python-packages.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index d2fa2c38ca32..7e54f32b4305 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -7662,13 +7662,15 @@ in { libthumbor = buildPythonPackage rec { name = "libthumbor-${version}"; - version = "1.2.0"; + version = "1.3.2"; src = pkgs.fetchurl { url = "mirror://pypi/l/libthumbor/${name}.tar.gz"; - sha256 = "09bbaf08124ee33ea4ef99881625bd20450b0b43ab90fd678479beba8c03f86e"; + sha256 = "1vjhszsf8wl9k16wyg2rfjycjnawzl7z8j39bhiysbz5x4lqg91b"; }; + buildInputs = with self; [ django ]; + propagatedBuildInputs = with self; [ six pycrypto ]; meta = { From 69cfc7f26586d2bcf278937ba051fc11aa3c7d8c Mon Sep 17 00:00:00 2001 From: Vaibhav Sagar Date: Wed, 7 Jun 2017 11:12:24 +0800 Subject: [PATCH 2/2] thumbor: 5.2.1 -> 6.3.2 --- pkgs/top-level/python-packages.nix | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 7e54f32b4305..462f619ce2a0 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -28080,7 +28080,7 @@ EOF thumbor = buildPythonPackage rec { name = "thumbor-${version}"; - version = "5.2.1"; + version = "6.3.2"; disabled = ! isPy27; @@ -28090,6 +28090,7 @@ EOF tornado pycrypto pycurl + pytz pillow derpconf python_magic @@ -28101,14 +28102,18 @@ EOF src = pkgs.fetchurl { url = "mirror://pypi/t/thumbor/${name}.tar.gz"; - sha256 = "57b0d7e261e792b2e2c53a79c3d8c722964003d1828331995dc3491dc67db7d8"; + sha256 = "0787245x4yci34cdfc9xaxhds0lv60476qgp132pwa78hrpc9m31"; }; + prePatch = '' + substituteInPlace setup.py \ + --replace '"argparse",' "" + ''; + meta = { description = "A smart imaging service"; homepage = https://github.com/globocom/thumbor/wiki; license = licenses.mit; - broken = true; }; };