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:
parent
64a3677ed0
commit
9e1cdfac65
1 changed files with 28 additions and 10 deletions
|
@ -1,32 +1,50 @@
|
||||||
{ lib, fetchPypi, buildPythonPackage, lzo, pytestCheckHook, setuptools, wheel }:
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, lzo
|
||||||
|
, pytestCheckHook
|
||||||
|
, pythonOlder
|
||||||
|
, setuptools
|
||||||
|
, wheel
|
||||||
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "python-lzo";
|
pname = "python-lzo";
|
||||||
version = "1.15";
|
version = "1.16";
|
||||||
format = "pyproject";
|
pyproject = true;
|
||||||
|
|
||||||
src = fetchPypi {
|
disabled = pythonOlder "3.9";
|
||||||
inherit pname version;
|
|
||||||
hash = "sha256-pXqqAMXDoFFd2fdCa6LPYBdn3BncAj2LmdShOwoye0k=";
|
src = fetchFromGitHub {
|
||||||
|
owner = "jd-boyd";
|
||||||
|
repo = "python-lzo";
|
||||||
|
rev = "refs/tags/v${version}";
|
||||||
|
hash = "sha256-iXAvOCzHPvNERMkE5y4QTHi4ZieW1wrYWYScs7zyb2c=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
setuptools
|
setuptools
|
||||||
wheel
|
wheel
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [ lzo ];
|
buildInputs = [
|
||||||
|
lzo
|
||||||
|
];
|
||||||
|
|
||||||
nativeCheckInputs = [ pytestCheckHook ];
|
nativeCheckInputs = [
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
pythonImportsCheck = [
|
pythonImportsCheck = [
|
||||||
"lzo"
|
"lzo"
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://github.com/jd-boyd/python-lzo";
|
|
||||||
description = "Python bindings for the LZO data compression library";
|
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;
|
license = licenses.gpl2Only;
|
||||||
maintainers = [ maintainers.jbedo ];
|
maintainers = with maintainers; [ jbedo ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue