python312Packages.pint-xarray: init at 0.4 (#377344)
[NixPkgs.git] / pkgs / development / python-modules / jxlpy / default.nix
blob307e5211be4b257df697bc4ef1ff94b4054f18a8
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   setuptools,
6   cython,
7   libjxl,
8 }:
10 buildPythonPackage rec {
11   pname = "jxlpy";
12   version = "0.9.5";
14   pyproject = true;
16   src = fetchPypi {
17     inherit pname version;
18     hash = "sha256-Kqdm8b3hgO0Q3zE68rSIM4Jd7upjG+SQywSseGwCFUI=";
19   };
21   build-system = [
22     setuptools
23     cython
24   ];
26   buildInputs = [ libjxl ];
28   # no tests
29   doCheck = false;
31   pythonImportsCheck = [ "jxlpy" ];
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   };