summary refs log tree commit diff
path: root/pkgs/development/python-modules/libthumbor/default.nix
blob: 72e62514a52635252bb071225ab1abd7a17e7a75 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{ lib, stdenv
, buildPythonPackage
, fetchPypi
, django
, six
, pycrypto
}:

buildPythonPackage rec {
  pname = "libthumbor";
  version = "2.0.1";

  src = fetchPypi {
    inherit pname version;
    sha256 = "ed4fe5f27f8f90e7285b7e6dce99c1b67d43a140bf370e989080b43d80ce25f0";
  };

  buildInputs = [ django ];
  propagatedBuildInputs = [ six pycrypto ];

  doCheck = false;

  meta = with lib; {
    description = "libthumbor is the python extension to thumbor";
    homepage = "https://github.com/heynemann/libthumbor";
    license = licenses.mit;
  };

}