Commit f8fcd213 authored by Kirill Radzikhovskyy's avatar Kirill Radzikhovskyy
Browse files

python3Packages.pylzma: fix build, initialization of ‘long int’ from ‘void *’

parent a8ea00c0
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
  lib,
  buildPythonPackage,
  fetchPypi,
  fetchpatch,
}:

buildPythonPackage rec {
@@ -17,6 +18,14 @@ buildPythonPackage rec {
    sha256 = "074anvhyjgsv2iby2ql1ixfvjgmhnvcwjbdz8gk70xzkzcm1fx5q";
  };

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

  pythonImportsCheck = [ "pylzma" ];

  meta = with lib; {