mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-04 19:48:34 +03:00
Merge pull request #334948 from huantianad/jxlpy
python3Packages.jxlpy: init at 0.9.5
This commit is contained in:
commit
5e4cafbcea
40
pkgs/development/python-modules/jxlpy/default.nix
Normal file
40
pkgs/development/python-modules/jxlpy/default.nix
Normal file
@ -0,0 +1,40 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
setuptools,
|
||||
cython,
|
||||
libjxl,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "jxlpy";
|
||||
version = "0.9.5";
|
||||
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-Kqdm8b3hgO0Q3zE68rSIM4Jd7upjG+SQywSseGwCFUI=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
cython
|
||||
];
|
||||
|
||||
buildInputs = [ libjxl ];
|
||||
|
||||
# no tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "jxlpy" ];
|
||||
|
||||
meta = {
|
||||
description = "Cython bindings and Pillow plugin for JPEG XL";
|
||||
homepage = "https://github.com/olokelo/jxlpy";
|
||||
changelog = "https://github.com/olokelo/jxlpy/releases/tag/${version}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [ lib.maintainers.huantian ];
|
||||
};
|
||||
}
|
@ -6567,6 +6567,8 @@ self: super: with self; {
|
||||
|
||||
jwt = callPackage ../development/python-modules/jwt { };
|
||||
|
||||
jxlpy = callPackage ../development/python-modules/jxlpy { };
|
||||
|
||||
jxmlease = callPackage ../development/python-modules/jxmlease { };
|
||||
|
||||
k-diffusion = callPackage ../development/python-modules/k-diffusion { };
|
||||
|
Loading…
Reference in New Issue
Block a user