dmlive: rollback ffmpeg and add mime desktop (#384589)

This commit is contained in:
Nick Cao
2025-02-26 15:27:26 -05:00
committed by GitHub
+11 -2
View File
@@ -2,14 +2,22 @@
lib,
rustPlatform,
fetchFromGitHub,
fetchurl,
pkg-config,
makeWrapper,
openssl,
mpv,
ffmpeg,
ffmpeg_6,
nodejs,
}:
let
desktop = fetchurl {
url = "https://github.com/THMonster/Revda/raw/e1c236f6f940443419b6202735b6f8a0c9cdbe8b/misc/dmlive-mime.desktop";
hash = "sha256-k4h0cSfjuTZAYLjbaTfcye1aC5obd6D3tAZjgBV8xCI=";
};
in
rustPlatform.buildRustPackage {
pname = "dmlive";
version = "5.5.7-unstable-2025-01-25";
@@ -37,10 +45,11 @@ rustPlatform.buildRustPackage {
wrapProgram "$out/bin/dmlive" --suffix PATH : "${
lib.makeBinPath [
mpv
ffmpeg
ffmpeg_6
nodejs
]
}"
install -Dm644 ${desktop} $out/share/applications/dmlive-mime.desktop
'';
env.OPENSSL_NO_VENDOR = true;