nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix

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

+9
+9
pkgs/development/python-modules/pylzma/default.nix
··· 2 2 lib, 3 3 buildPythonPackage, 4 4 fetchPypi, 5 + fetchpatch, 5 6 }: 6 7 7 8 buildPythonPackage rec { ··· 17 16 inherit pname version; 18 17 sha256 = "074anvhyjgsv2iby2ql1ixfvjgmhnvcwjbdz8gk70xzkzcm1fx5q"; 19 18 }; 19 + 20 + patches = [ 21 + # https://github.com/fancycode/pylzma/pull/82/ 22 + (fetchpatch { 23 + url = "https://github.com/fancycode/pylzma/commit/2fe0a4ed0588fd572931da4be10ad955636afde4.patch"; 24 + hash = "sha256-sWdMAmOPVTDnxNTjzPlqQYxqnjmRpK+OqwWF6jpXvIw="; 25 + }) 26 + ]; 20 27 21 28 pythonImportsCheck = [ "pylzma" ]; 22 29