Unverified Commit 2424aef5 authored by Pavol Rusnak's avatar Pavol Rusnak Committed by GitHub
Browse files

python3Packages.construct-classes: fix build (#499024)

parents 56bc9e4b 9d068a78
Loading
Loading
Loading
Loading
+4 −8
Original line number Diff line number Diff line
@@ -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 ];