mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
19 lines
390 B
Nix
19 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;
|
|
}
|