dmlive: format with nixfmt
This commit is contained in:
parent
7f271a2a68
commit
9b275ff032
@ -1,12 +1,13 @@
|
||||
{ lib
|
||||
, rustPlatform
|
||||
, fetchFromGitHub
|
||||
, pkg-config
|
||||
, makeWrapper
|
||||
, openssl
|
||||
, mpv
|
||||
, ffmpeg
|
||||
, nodejs
|
||||
{
|
||||
lib,
|
||||
rustPlatform,
|
||||
fetchFromGitHub,
|
||||
pkg-config,
|
||||
makeWrapper,
|
||||
openssl,
|
||||
mpv,
|
||||
ffmpeg,
|
||||
nodejs,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
@ -24,18 +25,30 @@ rustPlatform.buildRustPackage rec {
|
||||
|
||||
OPENSSL_NO_VENDOR = true;
|
||||
|
||||
nativeBuildInputs = [ pkg-config makeWrapper ];
|
||||
buildInputs = [ openssl ];
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
makeWrapper
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
openssl
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram "$out/bin/dmlive" --prefix PATH : "${lib.makeBinPath [ mpv ffmpeg nodejs ]}"
|
||||
wrapProgram "$out/bin/dmlive" --prefix PATH : "${
|
||||
lib.makeBinPath [
|
||||
mpv
|
||||
ffmpeg
|
||||
nodejs
|
||||
]
|
||||
}"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
description = "Tool to play and record videos or live streams with danmaku";
|
||||
homepage = "https://github.com/THMonster/dmlive";
|
||||
license = licenses.mit;
|
||||
license = lib.licenses.mit;
|
||||
mainProgram = "dmlive";
|
||||
maintainers = with maintainers; [ nickcao ];
|
||||
maintainers = with lib.maintainers; [ nickcao ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user