Merge pull request #153121 from Artturin/pythonsurebuildfix

python3Packages.sure: pull arch patch to fix build
This commit is contained in:
Artturi 2022-01-02 04:18:13 +02:00 committed by GitHub
commit a56ca1b9f6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,6 +5,7 @@
, six
, mock
, isPyPy
, fetchpatch
}:
buildPythonPackage rec {
@ -17,6 +18,14 @@ buildPythonPackage rec {
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 ];
propagatedBuildInputs = [ six mock ];