ida-free: use requireFile
This commit is contained in:
@@ -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 = [
|
||||
|
||||
Reference in New Issue
Block a user