about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/python-lzo/default.nix
blob: e3f1b0922a6a4931c1c4872a58a1d2926c6d32d3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{ lib, fetchPypi, buildPythonPackage, lzo, pytestCheckHook, setuptools, wheel }:

buildPythonPackage rec {
  pname = "python-lzo";
  version = "1.15";
  format = "pyproject";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-pXqqAMXDoFFd2fdCa6LPYBdn3BncAj2LmdShOwoye0k=";
  };

  nativeBuildInputs = [
    setuptools
    wheel
  ];

  buildInputs = [ lzo ];

  nativeCheckInputs = [ pytestCheckHook ];

  pythonImportsCheck = [
    "lzo"
  ];

  meta = with lib; {
    homepage = "https://github.com/jd-boyd/python-lzo";
    description = "Python bindings for the LZO data compression library";
    license = licenses.gpl2Only;
    maintainers = [ maintainers.jbedo ];
  };
}