2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2018-10-16 04:44:31 +01:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, django
|
|
|
|
, six
|
|
|
|
, pycrypto
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "libthumbor";
|
2020-06-06 07:47:17 +01:00
|
|
|
version = "2.0.1";
|
2018-10-16 04:44:31 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-06-06 07:47:17 +01:00
|
|
|
sha256 = "ed4fe5f27f8f90e7285b7e6dce99c1b67d43a140bf370e989080b43d80ce25f0";
|
2018-10-16 04:44:31 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ django ];
|
|
|
|
propagatedBuildInputs = [ six pycrypto ];
|
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-10-16 04:44:31 +01:00
|
|
|
description = "libthumbor is the python extension to thumbor";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/heynemann/libthumbor";
|
2018-10-16 04:44:31 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|