python310Packages.aws-lambda-builders: Fix build under setuptools 66+
This fixes https://github.com/NixOS/nixpkgs/issues/223024 The build was failing due to this upstream issue: https://github.com/aws/aws-lambda-builders/issues/474
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
, lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, mock
|
||||
, parameterized
|
||||
, pyelftools
|
||||
@@ -28,6 +29,15 @@ buildPythonPackage rec {
|
||||
six
|
||||
];
|
||||
|
||||
patches = [
|
||||
# This patch can be removed once https://github.com/aws/aws-lambda-builders/pull/475 has been merged.
|
||||
(fetchpatch {
|
||||
name = "setuptools-66-support";
|
||||
url = "https://patch-diff.githubusercontent.com/raw/aws/aws-lambda-builders/pull/475.patch";
|
||||
sha256 = "sha256-EkYQ6DNzbSnvkOads0GFwpGzeuBoLVU42THlSZNOHMc=";
|
||||
})
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
mock
|
||||
parameterized
|
||||
|
||||
Reference in New Issue
Block a user