10 buildPythonPackage rec {
11 pname = "pylibjpeg-libjpeg";
13 format = "setuptools";
15 disabled = pythonOlder "3.7";
17 src = fetchFromGitHub {
20 rev = "refs/tags/v${version}";
21 hash = "sha256-VmqeoMU8riLpWyC+yKqq56TkruxOie6pjbg+ozivpBk=";
22 fetchSubmodules = true;
29 propagatedBuildInputs = [
37 doCheck = false; # tests try to import 'libjpeg.data', which errors
39 pythonImportsCheck = [
44 description = "A JPEG, JPEG-LS and JPEG XT plugin for pylibjpeg";
45 homepage = "https://github.com/pydicom/pylibjpeg-libjpeg";
46 changelog = "https://github.com/pydicom/pylibjpeg-libjpeg/releases/tag/v${version}";
47 license = licenses.gpl3Only;
48 maintainers = with maintainers; [ bcdarwin ];