nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 41 lines 842 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 lzo, 6 pytestCheckHook, 7 setuptools, 8 wheel, 9}: 10 11buildPythonPackage rec { 12 pname = "python-lzo"; 13 version = "1.16"; 14 pyproject = true; 15 16 src = fetchFromGitHub { 17 owner = "jd-boyd"; 18 repo = "python-lzo"; 19 tag = "v${version}"; 20 hash = "sha256-iXAvOCzHPvNERMkE5y4QTHi4ZieW1wrYWYScs7zyb2c="; 21 }; 22 23 nativeBuildInputs = [ 24 setuptools 25 wheel 26 ]; 27 28 buildInputs = [ lzo ]; 29 30 nativeCheckInputs = [ pytestCheckHook ]; 31 32 pythonImportsCheck = [ "lzo" ]; 33 34 meta = { 35 description = "Python bindings for the LZO data compression library"; 36 homepage = "https://github.com/jd-boyd/python-lzo"; 37 changelog = "https://github.com/jd-boyd/python-lzo/releases/tag/v${version}"; 38 license = lib.licenses.gpl2Only; 39 maintainers = with lib.maintainers; [ jbedo ]; 40 }; 41}