depot/third_party/nixpkgs/pkgs/development/python-modules/python-lzo/default.nix
Default email 2c76a4cb41 Project import generated by Copybara.
GitOrigin-RevId: c757e9bd77b16ca2e03c89bf8bc9ecb28e0c06ad
2023-11-16 04:20:00 +00:00

32 lines
693 B
Nix

{ 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 ];
};
}