Commit 7e4dd6bf authored by Martin Weinelt's avatar Martin Weinelt
Browse files

python3Packages.pylzma: 0.5.0 -> 0.6.0

This commit was automatically generated using update-python-libraries.
parent d29c106b
Loading
Loading
Loading
Loading
+5 −11
Original line number Diff line number Diff line
@@ -2,29 +2,23 @@
  lib,
  buildPythonPackage,
  fetchPypi,
  fetchpatch,
  setuptools,
}:

buildPythonPackage rec {
  pname = "pylzma";
  version = "0.5.0";
  format = "setuptools";
  version = "0.6.0";
  pyproject = true;

  # 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";
    hash = "sha256-OwCniSKNBaBvqZXNK0H/SpZXhKoZSKBthLPKa4cwQfA=";
  };

  patches = [
    # https://github.com/fancycode/pylzma/pull/82/
    (fetchpatch {
      url = "https://github.com/fancycode/pylzma/commit/2fe0a4ed0588fd572931da4be10ad955636afde4.patch";
      hash = "sha256-sWdMAmOPVTDnxNTjzPlqQYxqnjmRpK+OqwWF6jpXvIw=";
    })
  ];
  build-system = [ setuptools ];

  pythonImportsCheck = [ "pylzma" ];