From acc3247db8a2c00eb19195d99185386ad4e10138 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Maret?= Date: Sat, 8 Oct 2022 13:38:02 +0200 Subject: [PATCH] python3Packages.pyregion: fetch each patch commit individually --- pkgs/development/python-modules/pyregion/default.nix | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/pyregion/default.nix b/pkgs/development/python-modules/pyregion/default.nix index 1a6cf6ace29e..11595e018112 100644 --- a/pkgs/development/python-modules/pyregion/default.nix +++ b/pkgs/development/python-modules/pyregion/default.nix @@ -30,11 +30,16 @@ buildPythonPackage rec { astropy ]; - # Upstream patch needed for the test to pass + # Upstream patches needed for the tests to pass + # See https://github.com/astropy/pyregion/pull/157/ patches = [ (fetchpatch { - url = "https://github.com/astropy/pyregion/pull/157.patch"; - sha256 = "sha256-FMPpwwbtCR8FDZWbD3Cmat7vu6AhyUezu2TOpUfujJE="; + url = "https://github.com/astropy/pyregion/pull/157/commits/082649730d353a0d0c0ee9619be1aa501aabba62.patch"; + sha256 = "sha256-4mHZt3S29ZfK+QKavm6DLBwVxGl/ga7W7GEcQ5ewxuo="; + }) + (fetchpatch { + url = "https://github.com/astropy/pyregion/pull/157/commits/c448a465dd56887979da62aec6138fc89bb37b19.patch"; + sha256 = "sha256-GEtvScmVbAdE4E5Xx0hNOPommvzcnJ3jNZpBmY3PbyE="; }) ];