proxmark3: 4.20142 -> 4.20469

This commit is contained in:
R. Ryantm
2025-06-30 17:25:44 -04:00
committed by Emily Trau
parent 88c2eff74c
commit 7b4ae95276
+7 -5
View File
@@ -29,13 +29,13 @@
assert withBlueshark -> stdenv.hostPlatform.isLinux;
stdenv.mkDerivation (finalAttrs: {
pname = "proxmark3";
version = "4.20142";
version = "4.20469";
src = fetchFromGitHub {
owner = "RfidResearchGroup";
repo = "proxmark3";
rev = "v${finalAttrs.version}";
hash = "sha256-kdwjwydeX8EwJazFzrrk5osv0YVzDVzn2S1sDKRQdR8=";
hash = "sha256-Z87YCuNWQ66FTAq7qXUYKI25BEWrXD+YK0GczDmWc9A=";
};
patches = [
@@ -47,11 +47,13 @@ stdenv.mkDerivation (finalAttrs: {
postPatch = ''
# Remove hardcoded paths on Darwin
substituteInPlace Makefile.defs \
--replace "/usr/bin/ar" "ar" \
--replace "/usr/bin/ranlib" "ranlib"
--replace-fail "/usr/bin/ar" "ar" \
--replace-fail "/usr/bin/ranlib" "ranlib"
# Replace hardcoded path to libwhereami
# Replace darwin sed syntax with gnused
substituteInPlace client/Makefile \
--replace "/usr/include/whereami.h" "${whereami}/include/whereami.h"
--replace-fail "/usr/include/whereami.h" "${whereami}/include/whereami.h" \
--replace-fail "sed -E -i '''" "sed -i"
'';
nativeBuildInputs = [