dmlive: add mime desktop

This commit is contained in:
A1ca7raz
2025-02-26 14:20:31 +08:00
parent 172ad3c95a
commit 06309a1c6c
+9
View File
@@ -2,6 +2,7 @@
lib,
rustPlatform,
fetchFromGitHub,
fetchurl,
pkg-config,
makeWrapper,
openssl,
@@ -10,6 +11,13 @@
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";
@@ -41,6 +49,7 @@ rustPlatform.buildRustPackage {
nodejs
]
}"
install -Dm644 ${desktop} $out/share/applications/dmlive-mime.desktop
'';
env.OPENSSL_NO_VENDOR = true;