Unverified Commit 1a4a4cf4 authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

Merge pull request #325422 from kirillrdy/py-spy

parents 2a2348ed 64a4b5a2
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -9,16 +9,16 @@

rustPlatform.buildRustPackage rec {
  pname = "py-spy";
  version = "0.3.14";
  version = "0.3.14-unstable-2024-02-27";

  src = fetchFromGitHub {
    owner = "benfred";
    repo = "py-spy";
    rev = "refs/tags/v${version}";
    hash = "sha256-NciyzKiDKIMeuHhTjzmHIc3dYW4AniuCNjZugm4hMss=";
    rev = "8dd54929106916a3c961cc57c1172793ce126180";
    hash = "sha256-rrngOqlXIJXbh3A7OBEcgoakZyyuvlHHXhWo3/1BRpY=";
  };

  cargoHash = "sha256-nm+44YWSJOOg9a9d8b3APXW50ThV3iA2C/QsJMttscE=";
  cargoHash = "sha256-gNnuuq2cz168Gaw+gL2nJ8EC32BMPu9DgnRzIh1hGKk=";

  # error: linker `arm-linux-gnueabihf-gcc` not found
  postPatch = ''
+4 −1
Original line number Diff line number Diff line
@@ -11973,7 +11973,10 @@ with pkgs;
    pythonPackages = python3Packages;
  };
  py-spy = darwin.apple_sdk_11_0.callPackage ../development/tools/py-spy { };
  py-spy = darwin.apple_sdk_11_0.callPackage ../development/tools/py-spy {
    # https://github.com/benfred/py-spy/issues/633
    python3 = python311;
  };
  pydeps = with python3Packages; toPythonApplication pydeps;