9 stdenvNoCC.mkDerivation (finalAttrs: {
14 url = "https://github.com/iina/iina/releases/download/v${finalAttrs.version}/IINA.v${finalAttrs.version}.dmg";
15 hash = "sha256-O4uRmfQaGMKqizDlgk0MnazMHVkXaDLqZQ9TP8vcajg=";
18 nativeBuildInputs = [ undmg ];
20 sourceRoot = "IINA.app";
23 mkdir -p $out/{bin,Applications/IINA.app}
24 cp -R . "$out/Applications/IINA.app"
25 ln -s "$out/Applications/IINA.app/Contents/MacOS/iina-cli" "$out/bin/iina"
28 passthru.updateScript = nix-update-script { };
31 changelog = "https://github.com/iina/iina/releases/tag/v${finalAttrs.version}";
32 description = "Modern media player for macOS";
33 homepage = "https://iina.io/";
34 license = lib.licenses.gpl3;
35 maintainers = with lib.maintainers; [
41 platforms = lib.platforms.darwin;
42 sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];