ida-free: use requireFile

This commit is contained in:
Moritz Sanft
2025-05-25 14:56:57 +02:00
parent 00ca994bbb
commit 274bdab79f
+5 -4
View File
@@ -2,7 +2,7 @@
autoPatchelfHook,
cairo,
dbus,
fetchurl,
requireFile,
fontconfig,
freetype,
glib,
@@ -26,9 +26,10 @@ stdenv.mkDerivation rec {
pname = "ida-free";
version = "9.1";
src = fetchurl {
url = "https://archive.org/download/ida-free-pc_90sp1_x64linux/ida-free-pc_90sp1_x64linux.run";
hash = "sha256-e5uCcJVn6xDwmVm14QCBUvNcB1MpVxNA2WcLyuK23vo=";
src = requireFile {
name = "ida-free-pc_${lib.replaceStrings [ "." ] [ "" ] version}_x64linux.run";
url = "https://my.hex-rays.com/dashboard/download-center/${version}/ida-free";
hash = "sha256-DIkxr9yD6yvziO8XHi0jt80189bXueRxmSFyq2LM0cg=";
};
nativeBuildInputs = [