1{ stdenv
2, buildPythonPackage
3, fetchPypi
4, django
5, six
6, pycrypto
7}:
8
9buildPythonPackage rec {
10 pname = "libthumbor";
11 version = "1.3.2";
12
13 src = fetchPypi {
14 inherit pname version;
15 sha256 = "1vjhszsf8wl9k16wyg2rfjycjnawzl7z8j39bhiysbz5x4lqg91b";
16 };
17
18 buildInputs = [ django ];
19 propagatedBuildInputs = [ six pycrypto ];
20
21 doCheck = false;
22
23 meta = with stdenv.lib; {
24 description = "libthumbor is the python extension to thumbor";
25 homepage = https://github.com/heynemann/libthumbor;
26 license = licenses.mit;
27 };
28
29}