Unverified Commit 19887532 authored by Nikolay Korotkiy's avatar Nikolay Korotkiy
Browse files

tageditor: enable on darwin

parent fcf0878f
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -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";
  };
}