python3Packages.sure: pull arch patch to fix build

This commit is contained in:
Artturin 2022-01-02 01:25:37 +02:00
parent 7895497b11
commit f3421fdc24

View File

@ -5,6 +5,7 @@
, six , six
, mock , mock
, isPyPy , isPyPy
, fetchpatch
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -17,6 +18,14 @@ buildPythonPackage rec {
sha256 = "34ae88c846046742ef074036bf311dc90ab152b7bc09c342b281cebf676727a2"; sha256 = "34ae88c846046742ef074036bf311dc90ab152b7bc09c342b281cebf676727a2";
}; };
patches = [
# https://github.com/gabrielfalcao/sure/issues/169
(fetchpatch {
url = "https://raw.githubusercontent.com/archlinux/svntogit-community/055baa81cd987e566de62a5657513937521a90d4/trunk/python310.diff";
sha256 = "sha256-BKylV8xpTOuO/X4hzZKpoIcAQcdAK0kXYENRad7AGPc=";
})
];
buildInputs = [ rednose ]; buildInputs = [ rednose ];
propagatedBuildInputs = [ six mock ]; propagatedBuildInputs = [ six mock ];