2023-05-24 13:37:59 +00:00
|
|
|
{ lib, stdenvNoCC, cacert, crystal, openssl, pkg-config, invidious }:
|
2022-03-30 09:31:56 +00:00
|
|
|
|
|
|
|
let
|
2023-05-24 13:37:59 +00:00
|
|
|
versions = lib.importJSON ./versions.json;
|
2022-03-30 09:31:56 +00:00
|
|
|
in
|
|
|
|
stdenvNoCC.mkDerivation {
|
|
|
|
name = "videojs";
|
|
|
|
|
|
|
|
inherit (invidious) src;
|
|
|
|
|
|
|
|
builder = ./videojs.sh;
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cacert crystal openssl pkg-config ];
|
|
|
|
|
|
|
|
outputHashAlgo = "sha256";
|
|
|
|
outputHashMode = "recursive";
|
|
|
|
outputHash = versions.videojs.sha256;
|
|
|
|
}
|