2022-12-04 13:45:43 +00:00
|
|
|
{
|
|
|
|
stdenvNoCC,
|
|
|
|
cacert,
|
|
|
|
crystal,
|
|
|
|
openssl,
|
|
|
|
pkg-config,
|
|
|
|
invidious,
|
|
|
|
}: let
|
|
|
|
versions = builtins.fromJSON (builtins.readFile ./versions.json);
|
|
|
|
in
|
|
|
|
stdenvNoCC.mkDerivation {
|
|
|
|
name = "videojs";
|
2022-11-17 22:25:41 +00:00
|
|
|
|
2022-12-04 13:45:43 +00:00
|
|
|
inherit (invidious) src;
|
2022-11-17 22:25:41 +00:00
|
|
|
|
2022-12-04 13:45:43 +00:00
|
|
|
builder = ./videojs.sh;
|
2022-11-17 22:25:41 +00:00
|
|
|
|
2022-12-04 13:45:43 +00:00
|
|
|
nativeBuildInputs = [cacert crystal openssl pkg-config];
|
2022-11-17 22:25:41 +00:00
|
|
|
|
2022-12-04 13:45:43 +00:00
|
|
|
outputHashAlgo = "sha256";
|
|
|
|
outputHashMode = "recursive";
|
|
|
|
outputHash = versions.videojs.sha256;
|
|
|
|
}
|