42 lines
1.0 KiB
Nix
42 lines
1.0 KiB
Nix
|
# This file has been generated by node2nix 1.8.0. Do not edit!
|
||
|
|
||
|
{nodeEnv, fetchurl, fetchgit, globalBuildInputs ? []}:
|
||
|
|
||
|
let
|
||
|
sources = {
|
||
|
"commander-2.20.3" = {
|
||
|
name = "commander";
|
||
|
packageName = "commander";
|
||
|
version = "2.20.3";
|
||
|
src = fetchurl {
|
||
|
url = "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz";
|
||
|
sha512 = "GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==";
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
args = {
|
||
|
name = "katex";
|
||
|
packageName = "katex";
|
||
|
version = "0.12.0-pre";
|
||
|
src = ./.;
|
||
|
dependencies = [
|
||
|
sources."commander-2.20.3"
|
||
|
];
|
||
|
buildInputs = globalBuildInputs;
|
||
|
meta = {
|
||
|
description = "Fast math typesetting for the web.";
|
||
|
homepage = https://katex.org/;
|
||
|
license = "MIT";
|
||
|
};
|
||
|
production = true;
|
||
|
bypassCache = true;
|
||
|
reconstructLock = true;
|
||
|
};
|
||
|
in
|
||
|
{
|
||
|
args = args;
|
||
|
sources = sources;
|
||
|
tarball = nodeEnv.buildNodeSourceDist args;
|
||
|
package = nodeEnv.buildNodePackage args;
|
||
|
shell = nodeEnv.buildNodeShell args;
|
||
|
}
|