Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / python-lzo / default.nix
blobe3f1b0922a6a4931c1c4872a58a1d2926c6d32d3
1 { lib, fetchPypi, buildPythonPackage, lzo, pytestCheckHook, setuptools, wheel }:
3 buildPythonPackage rec {
4   pname = "python-lzo";
5   version = "1.15";
6   format = "pyproject";
8   src = fetchPypi {
9     inherit pname version;
10     hash = "sha256-pXqqAMXDoFFd2fdCa6LPYBdn3BncAj2LmdShOwoye0k=";
11   };
13   nativeBuildInputs = [
14     setuptools
15     wheel
16   ];
18   buildInputs = [ lzo ];
20   nativeCheckInputs = [ pytestCheckHook ];
22   pythonImportsCheck = [
23     "lzo"
24   ];
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   };