python3Packages.libthumbor: disable on older Python releases

add pythonImportsCheck
This commit is contained in:
Fabian Affolter 2022-04-01 20:03:29 +02:00 committed by GitHub
parent f7e7f925ec
commit af09feefd5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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; [ ];
};
}