From 19887532afdb8c5dcf8fd066542e9fcc1ecdce89 Mon Sep 17 00:00:00 2001 From: Nikolay Korotkiy Date: Mon, 14 Apr 2025 00:42:25 +0400 Subject: [PATCH] tageditor: enable on darwin --- pkgs/applications/audio/tageditor/default.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/audio/tageditor/default.nix b/pkgs/applications/audio/tageditor/default.nix index a336c2bc4ecd..7ac0a227d261 100644 --- a/pkgs/applications/audio/tageditor/default.nix +++ b/pkgs/applications/audio/tageditor/default.nix @@ -45,12 +45,18 @@ stdenv.mkDerivation rec { tagparser ]; + postInstall = lib.optionalString stdenv.hostPlatform.isDarwin '' + mkdir -p $out/Applications + mv $out/bin/*.app $out/Applications + ln -s $out/Applications/tageditor.app/Contents/MacOS/tageditor $out/bin/tageditor + ''; + meta = with lib; { homepage = "https://github.com/Martchus/tageditor"; description = "Tag editor with Qt GUI and command-line interface supporting MP4/M4A/AAC (iTunes), ID3, Vorbis, Opus, FLAC and Matroska"; license = licenses.gpl2; maintainers = [ maintainers.matthiasbeyer ]; - platforms = platforms.linux; + platforms = platforms.unix; mainProgram = "tageditor"; }; }