2022-01-15 16:24:18 +00:00
|
|
|
{ stdenvNoCC, cacert, crystal, openssl, pkg-config, invidious }:
|
|
|
|
|
2022-03-02 10:53:08 +00:00
|
|
|
let
|
|
|
|
versions = builtins.fromJSON (builtins.readFile ./versions.json);
|
|
|
|
in
|
2022-01-15 16:24:18 +00:00
|
|
|
stdenvNoCC.mkDerivation {
|
|
|
|
name = "videojs";
|
|
|
|
|
|
|
|
inherit (invidious) src;
|
|
|
|
|
|
|
|
builder = ./videojs.sh;
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cacert crystal openssl pkg-config ];
|
|
|
|
|
|
|
|
outputHashAlgo = "sha256";
|
|
|
|
outputHashMode = "recursive";
|
2022-03-02 10:53:08 +00:00
|
|
|
outputHash = versions.videojs.sha256;
|
2022-01-15 16:24:18 +00:00
|
|
|
}
|