1{ lib, fetchPypi, buildPythonPackage, lzo, pytestCheckHook, setuptools, wheel }:
2
3buildPythonPackage rec {
4 pname = "python-lzo";
5 version = "1.15";
6 format = "pyproject";
7
8 src = fetchPypi {
9 inherit pname version;
10 hash = "sha256-pXqqAMXDoFFd2fdCa6LPYBdn3BncAj2LmdShOwoye0k=";
11 };
12
13 nativeBuildInputs = [
14 setuptools
15 wheel
16 ];
17
18 buildInputs = [ lzo ];
19
20 nativeCheckInputs = [ pytestCheckHook ];
21
22 pythonImportsCheck = [
23 "lzo"
24 ];
25
26 meta = with lib; {
27 homepage = "https://github.com/jd-boyd/python-lzo";
28 description = "Python bindings for the LZO data compression library";
29 license = licenses.gpl2Only;
30 maintainers = [ maintainers.jbedo ];
31 };
32}