Merge pull request #325422 from kirillrdy/py-spy

This commit is contained in:
Sandro 2024-07-15 13:34:48 +02:00 committed by GitHub
commit 1a4a4cf4d4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 8 additions and 5 deletions

View File

@ -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 = ''

View File

@ -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;