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