diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2024-01-26 08:33:51 +0100 |
---|---|---|
committer | Fabian Affolter <mail@fabian-affolter.ch> | 2024-01-26 08:33:57 +0100 |
commit | 9e1cdfac659bbe1c244e679d7e57c6c541894929 (patch) | |
tree | 8c1cdd2e5d9a5e5010a2f199c3360dd2817b1cf9 /pkgs/development | |
parent | 64a3677ed036ebbf8b48c018077da6e7a44392fe (diff) |
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
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/python-modules/python-lzo/default.nix | 38 |
1 files changed, 28 insertions, 10 deletions
diff --git a/pkgs/development/python-modules/python-lzo/default.nix b/pkgs/development/python-modules/python-lzo/default.nix index e3f1b0922a6a4..f0652410828c9 100644 --- a/pkgs/development/python-modules/python-lzo/default.nix +++ b/pkgs/development/python-modules/python-lzo/default.nix @@ -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 ]; }; } |