3
0
Fork 0
forked from mirrors/nixpkgs

python3Packages.pyturbojpeg: 1.6.2 -> 1.6.3

This commit is contained in:
Fabian Affolter 2021-11-09 17:07:39 +01:00
parent 94a8d38dcd
commit 08694e5131

View file

@ -1,21 +1,22 @@
{ lib
, stdenv
, python
, buildPythonPackage
, fetchPypi
, substituteAll
, libjpeg_turbo
, numpy
, python
, substituteAll
}:
buildPythonPackage rec {
pname = "pyturbojpeg";
version = "1.6.2";
version = "1.6.3";
format = "setuptools";
src = fetchPypi {
pname = "PyTurboJPEG";
inherit version;
sha256 = "sha256-gOf/i2OyNtB3oIATXzijRUnhEaMlHRvwWXPguqHDG1A=";
sha256 = "sha256-5g9MQB7vpeuorVGExt0scHtLdrWlkuLOZMT38FhAsi4=";
};
patches = [
@ -34,7 +35,9 @@ buildPythonPackage rec {
${python.interpreter} -c 'from turbojpeg import TurboJPEG; TurboJPEG()'
'';
pythonImportsCheck = [ "turbojpeg" ];
pythonImportsCheck = [
"turbojpeg"
];
meta = with lib; {
description = "A Python wrapper of libjpeg-turbo for decoding and encoding JPEG image";