nixpkgs/pkgs/servers/invidious/videojs.nix
2024-02-19 13:24:48 +01:00

18 lines
388 B
Nix

{ lib, stdenvNoCC, cacert, crystal, openssl, pkg-config, invidious }:
let
versions = lib.importJSON ./versions.json;
in
stdenvNoCC.mkDerivation {
name = "videojs";
inherit (invidious) src;
builder = ./videojs.sh;
nativeBuildInputs = [ cacert crystal openssl pkg-config ];
outputHashAlgo = "sha256";
outputHashMode = "recursive";
outputHash = versions.videojs.hash;
}