depot/third_party/nixpkgs/pkgs/development/python-modules/libthumbor/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

29 lines
549 B
Nix

{ lib
, 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;
};
}