php81Packages.phpspy: add upstream patch to fix version

This commit is contained in:
Pol Dellaiera 2024-07-15 16:19:27 +02:00
parent a43f0d07b2
commit c05e2a7e78
No known key found for this signature in database
GPG Key ID: D476DFE9C67467CA

View File

@ -2,6 +2,7 @@
lib,
stdenv,
fetchFromGitHub,
fetchpatch,
gnugrep,
binutils,
makeBinaryWrapper,
@ -22,6 +23,13 @@ stdenv.mkDerivation (finalAttrs: {
fetchSubmodules = true;
};
patches = [
(fetchpatch {
url = "https://github.com/adsr/phpspy/commit/8854e60ac38cfd2455d4a3d797f283eb3940cb7b.patch";
hash = "sha256-IMO9GV0Z8PDEAVhLevg5jGh/PHcbNq3f3fMGFaKoLL4=";
})
];
nativeBuildInputs = [
makeBinaryWrapper
php.unwrapped