File tree Expand file tree Collapse file tree 1 file changed +28
-15
lines changed Expand file tree Collapse file tree 1 file changed +28
-15
lines changed Original file line number Diff line number Diff line change 1- { lib
2- , rustPlatform
3- , fetchFromGitHub
4- , pkg-config
5- , makeWrapper
6- , openssl
7- , mpv
8- , ffmpeg
9- , nodejs
1+ {
2+ lib ,
3+ rustPlatform ,
4+ fetchFromGitHub ,
5+ pkg-config ,
6+ makeWrapper ,
7+ openssl ,
8+ mpv ,
9+ ffmpeg ,
10+ nodejs ,
1011} :
1112
1213rustPlatform . buildRustPackage rec {
@@ -24,18 +25,30 @@ rustPlatform.buildRustPackage rec {
2425
2526 OPENSSL_NO_VENDOR = true ;
2627
27- nativeBuildInputs = [ pkg-config makeWrapper ] ;
28- buildInputs = [ openssl ] ;
28+ nativeBuildInputs = [
29+ pkg-config
30+ makeWrapper
31+ ] ;
32+
33+ buildInputs = [
34+ openssl
35+ ] ;
2936
3037 postInstall = ''
31- wrapProgram "$out/bin/dmlive" --prefix PATH : "${ lib . makeBinPath [ mpv ffmpeg nodejs ] } "
38+ wrapProgram "$out/bin/dmlive" --prefix PATH : "${
39+ lib . makeBinPath [
40+ mpv
41+ ffmpeg
42+ nodejs
43+ ]
44+ } "
3245 '' ;
3346
34- meta = with lib ; {
47+ meta = {
3548 description = "Tool to play and record videos or live streams with danmaku" ;
3649 homepage = "https://github.com/THMonster/dmlive" ;
37- license = licenses . mit ;
50+ license = lib . licenses . mit ;
3851 mainProgram = "dmlive" ;
39- maintainers = with maintainers ; [ nickcao ] ;
52+ maintainers = with lib . maintainers ; [ nickcao ] ;
4053 } ;
4154}
You can’t perform that action at this time.
0 commit comments