python3Packages.libthumbor: disable on older Python releases
add pythonImportsCheck
This commit is contained in:
parent
f7e7f925ec
commit
af09feefd5
|
@ -9,21 +9,34 @@
|
|||
buildPythonPackage rec {
|
||||
pname = "libthumbor";
|
||||
version = "2.0.2";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-1PsiFZrTDVQqy8A3nkaM5LdPiBoriRgHkklTOiczN+g=";
|
||||
hash = "sha256-1PsiFZrTDVQqy8A3nkaM5LdPiBoriRgHkklTOiczN+g=";
|
||||
};
|
||||
|
||||
buildInputs = [ django ];
|
||||
propagatedBuildInputs = [ six pycrypto ];
|
||||
buildInputs = [
|
||||
django
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
six
|
||||
pycrypto
|
||||
];
|
||||
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"libthumbor"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "libthumbor is the python extension to thumbor";
|
||||
description = "Python extension to thumbor";
|
||||
homepage = "https://github.com/heynemann/libthumbor";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue