pythonPackages.libthumbor: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov
2018-10-15 23:44:31 -04:00
committed by Frederik Rietdijk
parent aa03d6cfc2
commit 9163ad5f97
2 changed files with 30 additions and 22 deletions

View File

@@ -0,0 +1,29 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, django
, six
, pycrypto
}:
buildPythonPackage rec {
pname = "libthumbor";
version = "1.3.2";
src = fetchPypi {
inherit pname version;
sha256 = "1vjhszsf8wl9k16wyg2rfjycjnawzl7z8j39bhiysbz5x4lqg91b";
};
buildInputs = [ django ];
propagatedBuildInputs = [ six pycrypto ];
doCheck = false;
meta = with stdenv.lib; {
description = "libthumbor is the python extension to thumbor";
homepage = https://github.com/heynemann/libthumbor;
license = licenses.mit;
};
}