This repository has no description
481 B
21 lines
1{ ... }:
2{
3 perSystem =
4 { pkgs, ... }:
5 let
6 ffmpeg-placebo = pkgs.ffmpeg.override { withPlacebo = true; };
7 in
8 {
9 packages.android-webcam = pkgs.writeShellApplication {
10 name = "android-webcam";
11 runtimeInputs = [
12 pkgs.scrcpy
13 ffmpeg-placebo
14 ];
15 text = builtins.replaceStrings
16 [ "@shaderPath@" ]
17 [ "${./ascii.hook}" ]
18 (builtins.readFile ./android-webcam.sh);
19 };
20 };
21}