python3Packages.construct-classes: fix build (#499024)
This commit is contained in:
@@ -3,7 +3,6 @@
|
||||
buildPythonPackage,
|
||||
construct,
|
||||
fetchFromGitHub,
|
||||
fetchpatch2,
|
||||
pytestCheckHook,
|
||||
uv-build,
|
||||
}:
|
||||
@@ -20,13 +19,10 @@ buildPythonPackage rec {
|
||||
hash = "sha256-goOQMt/nVjWXYltpnKHtJaLOhR+gRTmtoUh7zVb7go4=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch2 {
|
||||
name = "uv-build.patch";
|
||||
url = "https://github.com/matejcik/construct-classes/commit/d1ecacc0cf5cb332ffe6ed85ce9dfc552f77231f.patch?full_index=1";
|
||||
hash = "sha256-VeifL8bER0mIRNXKTA+/cje8AxWJKg/q8ipmf3gTeiw=";
|
||||
})
|
||||
];
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace-fail "uv_build>=0.8.13,<0.9.0" "uv_build>=0.8.13"
|
||||
'';
|
||||
|
||||
build-system = [ uv-build ];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user