pythonPackages.pylzma: init at 0.5.0

This commit is contained in:
Daniel Olsen 2021-07-24 01:45:30 +02:00
parent cfe66d16b7
commit 4683bca7df
2 changed files with 25 additions and 0 deletions

View file

@ -0,0 +1,23 @@
{ lib, buildPythonPackage, fetchPypi }:
buildPythonPackage rec {
pname = "pylzma";
version = "0.5.0";
# This vendors an old LZMA SDK
# After some discussion, it seemed most reasonable to keep it that way
# xz, and uefi-firmware-parser also does this
src = fetchPypi {
inherit pname version;
sha256 = "074anvhyjgsv2iby2ql1ixfvjgmhnvcwjbdz8gk70xzkzcm1fx5q";
};
pythonImportsCheck = [ "pylzma" ];
meta = with lib; {
homepage = "https://www.joachim-bauch.de/projects/pylzma/";
description = "Platform independent python bindings for the LZMA compression library";
license = licenses.lgpl21Only;
maintainers = with maintainers; [ dandellion ];
};
}

View file

@ -6211,6 +6211,8 @@ in {
pylxd = callPackage ../development/python-modules/pylxd { };
pylzma = callPackage ../development/python-modules/pylzma { };
pymacaroons = callPackage ../development/python-modules/pymacaroons { };
pymaging = callPackage ../development/python-modules/pymaging { };