depot/third_party/nixpkgs/pkgs/servers/invidious/videojs.nix

19 lines
390 B
Nix
Raw Normal View History

{ 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;
}