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