python312Packages.python-lzo: 1.15 -> 1.16

Diff: https://github.com/jd-boyd/python-lzo/compare/refs/tags/v1.15...v1.16

Changelog: https://github.com/jd-boyd/python-lzo/releases/tag/v1.16
This commit is contained in:
Fabian Affolter 2024-01-26 08:33:51 +01:00
parent 64a3677ed0
commit 9e1cdfac65

View file

@ -1,32 +1,50 @@
{ lib, fetchPypi, buildPythonPackage, lzo, pytestCheckHook, setuptools, wheel }:
{ lib
, buildPythonPackage
, fetchFromGitHub
, lzo
, pytestCheckHook
, pythonOlder
, setuptools
, wheel
}:
buildPythonPackage rec {
pname = "python-lzo";
version = "1.15";
format = "pyproject";
version = "1.16";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-pXqqAMXDoFFd2fdCa6LPYBdn3BncAj2LmdShOwoye0k=";
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "jd-boyd";
repo = "python-lzo";
rev = "refs/tags/v${version}";
hash = "sha256-iXAvOCzHPvNERMkE5y4QTHi4ZieW1wrYWYScs7zyb2c=";
};
nativeBuildInputs = [
setuptools
wheel
];
buildInputs = [ lzo ];
buildInputs = [
lzo
];
nativeCheckInputs = [ pytestCheckHook ];
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"lzo"
];
meta = with lib; {
homepage = "https://github.com/jd-boyd/python-lzo";
description = "Python bindings for the LZO data compression library";
homepage = "https://github.com/jd-boyd/python-lzo";
changelog = "https://github.com/jd-boyd/python-lzo/releases/tag/v${version}";
license = licenses.gpl2Only;
maintainers = [ maintainers.jbedo ];
maintainers = with maintainers; [ jbedo ];
};
}