about summary refs log tree commit diff
path: root/pkgs/development/python-modules/libthumbor/default.nix
blob: 0fdb4c4fab949ce40427433d232f6d7781c51912 (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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
{ lib
, buildPythonPackage
, fetchPypi
, django
, six
, pycrypto
, pythonOlder
}:

buildPythonPackage rec {
  pname = "libthumbor";
  version = "2.0.2";
  format = "setuptools";

  disabled = pythonOlder "3.7";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-1PsiFZrTDVQqy8A3nkaM5LdPiBoriRgHkklTOiczN+g=";
  };

  buildInputs = [
    django
  ];

  propagatedBuildInputs = [
    six
    pycrypto
  ];

  doCheck = false;

  pythonImportsCheck = [
    "libthumbor"
  ];

  meta = with lib; {
    description = "Python extension to thumbor";
    homepage = "https://github.com/heynemann/libthumbor";
    license = licenses.mit;
    maintainers = with maintainers; [ ];
  };
}