File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change 22 lib ,
33 rustPlatform ,
44 fetchFromGitHub ,
5+ fetchurl ,
56 pkg-config ,
67 makeWrapper ,
78 openssl ,
89 mpv ,
9- ffmpeg ,
10+ ffmpeg_6 ,
1011 nodejs ,
1112} :
1213
14+ let
15+ desktop = fetchurl {
16+ url = "https://github.com/THMonster/Revda/raw/e1c236f6f940443419b6202735b6f8a0c9cdbe8b/misc/dmlive-mime.desktop" ;
17+ hash = "sha256-k4h0cSfjuTZAYLjbaTfcye1aC5obd6D3tAZjgBV8xCI=" ;
18+ } ;
19+ in
20+
1321rustPlatform . buildRustPackage {
1422 pname = "dmlive" ;
1523 version = "5.5.7-unstable-2025-01-25" ;
@@ -37,10 +45,11 @@ rustPlatform.buildRustPackage {
3745 wrapProgram "$out/bin/dmlive" --suffix PATH : "${
3846 lib . makeBinPath [
3947 mpv
40- ffmpeg
48+ ffmpeg_6
4149 nodejs
4250 ]
4351 } "
52+ install -Dm644 ${ desktop } $out/share/applications/dmlive-mime.desktop
4453 '' ;
4554
4655 env . OPENSSL_NO_VENDOR = true ;
You can’t perform that action at this time.
0 commit comments