2023-05-05 19:39:20 +00:00
|
|
|
{ lib, stdenvNoCC, cacert, crystal, openssl, pkg-config, invidious }:
|
2022-01-15 16:24:18 +00:00
|
|
|
|
2022-03-02 10:53:08 +00:00
|
|
|
let
|
2023-05-05 19:39:20 +00:00
|
|
|
versions = lib.importJSON ./versions.json;
|
2022-03-02 10:53:08 +00:00
|
|
|
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
|
|
|
}
|