nixpkgs/pkgs/servers/invidious/videojs.nix

18 lines
390 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.sha256;
}