python310Packages.pylibjpeg-libjpeg: init at 1.3.3
This commit is contained in:
parent
a462421d50
commit
a12fd92577
@ -0,0 +1,43 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pythonOlder
|
||||
, pytestCheckHook
|
||||
, cython
|
||||
, numpy
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pylibjpeg-libjpeg";
|
||||
version = "1.3.3";
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "pydicom";
|
||||
repo = pname;
|
||||
rev = "refs/tags/v.${version}";
|
||||
hash = "sha256-fv3zX+P2DWMdxPKsvSPhPCV8cDX3tAMO/h5coMHBHN8=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cython];
|
||||
|
||||
propagatedBuildInputs = [ numpy ];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
doCheck = false; # tests try to import 'libjpeg.data', which errors
|
||||
|
||||
pythonImportsCheck = [
|
||||
"libjpeg"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A JPEG, JPEG-LS and JPEG XT plugin for pylibjpeg";
|
||||
homepage = "https://github.com/pydicom/pylibjpeg-libjpeg";
|
||||
license = licenses.gpl3;
|
||||
maintainers = with maintainers; [ bcdarwin ];
|
||||
};
|
||||
}
|
@ -8199,6 +8199,8 @@ self: super: with self; {
|
||||
inherit (pkgs) libusb1;
|
||||
};
|
||||
|
||||
pylibjpeg-libjpeg = callPackage ../development/python-modules/pylibjpeg-libjpeg { };
|
||||
|
||||
pyliblo = callPackage ../development/python-modules/pyliblo { };
|
||||
|
||||
pylibmc = callPackage ../development/python-modules/pylibmc { };
|
||||
|
Loading…
Reference in New Issue
Block a user