at master 730 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 setuptools, 6 cython, 7 libjxl, 8}: 9 10buildPythonPackage rec { 11 pname = "jxlpy"; 12 version = "0.9.5"; 13 14 pyproject = true; 15 16 src = fetchPypi { 17 inherit pname version; 18 hash = "sha256-Kqdm8b3hgO0Q3zE68rSIM4Jd7upjG+SQywSseGwCFUI="; 19 }; 20 21 build-system = [ 22 setuptools 23 cython 24 ]; 25 26 buildInputs = [ libjxl ]; 27 28 # no tests 29 doCheck = false; 30 31 pythonImportsCheck = [ "jxlpy" ]; 32 33 meta = { 34 description = "Cython bindings and Pillow plugin for JPEG XL"; 35 homepage = "https://github.com/olokelo/jxlpy"; 36 changelog = "https://github.com/olokelo/jxlpy/releases/tag/${version}"; 37 license = lib.licenses.mit; 38 maintainers = [ lib.maintainers.huantian ]; 39 }; 40}