1{ lib, buildPythonPackage, fetchPypi }: 2 3buildPythonPackage rec { 4 pname = "pylzma"; 5 version = "0.5.0"; 6 7 # This vendors an old LZMA SDK 8 # After some discussion, it seemed most reasonable to keep it that way 9 # xz, and uefi-firmware-parser also does this 10 src = fetchPypi { 11 inherit pname version; 12 sha256 = "074anvhyjgsv2iby2ql1ixfvjgmhnvcwjbdz8gk70xzkzcm1fx5q"; 13 }; 14 15 pythonImportsCheck = [ "pylzma" ]; 16 17 meta = with lib; { 18 homepage = "https://www.joachim-bauch.de/projects/pylzma/"; 19 description = "Platform independent python bindings for the LZMA compression library"; 20 license = licenses.lgpl21Only; 21 maintainers = with maintainers; [ dandellion ]; 22 }; 23}