dmlive: 5.5.4 -> 5.5.7-unstable-2025-01-25 (#383748)
This commit is contained in:
@@ -10,21 +10,19 @@
|
||||
nodejs,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
rustPlatform.buildRustPackage {
|
||||
pname = "dmlive";
|
||||
version = "5.5.4";
|
||||
version = "5.5.7-unstable-2025-01-25";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "THMonster";
|
||||
repo = pname;
|
||||
rev = "688ddda12ed70a7ad25ede63e948e1cba143a307"; # no tag
|
||||
hash = "sha256-M7IZ2UzusWovyhigyUXasmSEz4J79gnFyivHVUqfUKg=";
|
||||
repo = "dmlive";
|
||||
rev = "79b4d9430fca3ebb86c57ee506989f620ea68a21"; # no tag
|
||||
hash = "sha256-0DDKKd4IZj+3AyVMG4FXjCbvvMg5iDCiF1B6nB8n3lU=";
|
||||
};
|
||||
|
||||
useFetchCargoVendor = true;
|
||||
cargoHash = "sha256-eHbnAOMWfGSVYrLqhfoZ4tXHy6GXKzB7sHN8ZQwE//0=";
|
||||
|
||||
OPENSSL_NO_VENDOR = true;
|
||||
cargoHash = "sha256-UwKQivYZyXYADbwf4VA1h2y7YzpxefUgDYQG+NaLMwE=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
@@ -36,7 +34,7 @@ rustPlatform.buildRustPackage rec {
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram "$out/bin/dmlive" --prefix PATH : "${
|
||||
wrapProgram "$out/bin/dmlive" --suffix PATH : "${
|
||||
lib.makeBinPath [
|
||||
mpv
|
||||
ffmpeg
|
||||
@@ -45,6 +43,8 @@ rustPlatform.buildRustPackage rec {
|
||||
}"
|
||||
'';
|
||||
|
||||
env.OPENSSL_NO_VENDOR = true;
|
||||
|
||||
meta = {
|
||||
description = "Tool to play and record videos or live streams with danmaku";
|
||||
homepage = "https://github.com/THMonster/dmlive";
|
||||
|
||||
Reference in New Issue
Block a user