9 bits = if stdenv.hostPlatform.is64bit then "x64" else "ia32";
13 pname = "nwjs-ffmpeg-prebuilt";
19 "x64" = "sha256-0Y0m9wGZGqH78LTPSWw+OCTvxd6kmIjuYzSaepwt9/I=";
20 "ia32" = "sha256-0Y0m9wGZGqH78LTPSWw+OCTvxd6kmIjuYzSaepwt9/I=";
24 url = "https://github.com/nwjs-ffmpeg-prebuilt/nwjs-ffmpeg-prebuilt/releases/download/${version}/${version}-linux-${bits}.zip";
25 hash = hashes.${bits};
29 nativeBuildInputs = [ unzip ];
35 cp -R libffmpeg.so $out/lib/
41 description = "An app runtime based on Chromium and node.js";
42 homepage = "https://nwjs.io/";
47 sourceProvenance = [ lib.sourceTypes.binaryNativeCode ];
48 maintainers = with lib.maintainers; [
52 license = lib.licenses.gpl2Plus;