nixpkgs/pkgs/by-name/in/invidious/videojs.sh
2024-11-12 22:34:21 +01:00

10 lines
289 B
Bash

source $stdenv/setup
unpackPhase
cd source
# this helper downloads the videojs files and checks their checksums
# against videojs-dependencies.yml so it should be pure
crystal run scripts/fetch-player-dependencies.cr -- --minified
rm -f assets/videojs/.gitignore
mv assets/videojs "$out"