proxmark3: 4.20142 -> 4.20469 (#417314)

authored by Emily Trau and committed by GitHub 05c5aa2c 5a9ee25f

+7 -5
+7 -5
pkgs/tools/security/proxmark3/default.nix
··· 30 30 assert withBlueshark -> stdenv.hostPlatform.isLinux; 31 31 stdenv.mkDerivation (finalAttrs: { 32 32 pname = "proxmark3"; 33 - version = "4.20142"; 33 + version = "4.20469"; 34 34 35 35 src = fetchFromGitHub { 36 36 owner = "RfidResearchGroup"; 37 37 repo = "proxmark3"; 38 38 rev = "v${finalAttrs.version}"; 39 - hash = "sha256-kdwjwydeX8EwJazFzrrk5osv0YVzDVzn2S1sDKRQdR8="; 39 + hash = "sha256-Z87YCuNWQ66FTAq7qXUYKI25BEWrXD+YK0GczDmWc9A="; 40 40 }; 41 41 42 42 patches = [ ··· 48 48 postPatch = '' 49 49 # Remove hardcoded paths on Darwin 50 50 substituteInPlace Makefile.defs \ 51 - --replace "/usr/bin/ar" "ar" \ 52 - --replace "/usr/bin/ranlib" "ranlib" 51 + --replace-fail "/usr/bin/ar" "ar" \ 52 + --replace-fail "/usr/bin/ranlib" "ranlib" 53 53 # Replace hardcoded path to libwhereami 54 + # Replace darwin sed syntax with gnused 54 55 substituteInPlace client/Makefile \ 55 - --replace "/usr/include/whereami.h" "${whereami}/include/whereami.h" 56 + --replace-fail "/usr/include/whereami.h" "${whereami}/include/whereami.h" \ 57 + --replace-fail "sed -E -i '''" "sed -i" 56 58 ''; 57 59 58 60 nativeBuildInputs = [