24 lines
393 B
Nix
24 lines
393 B
Nix
{
|
|
buildNpmPackage,
|
|
...
|
|
}:
|
|
buildNpmPackage {
|
|
pname = "quartz";
|
|
version = "4.4.0";
|
|
|
|
src = ./.;
|
|
dontNpmBuild = true;
|
|
makeCacheWritable = true;
|
|
|
|
npmDepsHash = "sha256-zMabk+Tynp7VhFc9M9dNqix33Hm3lAb4CqcEMoHzrz0=";
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
npmInstallHook
|
|
|
|
node ./quartz/bootstrap-cli.mjs build
|
|
mv public/ $out/public/
|
|
|
|
runHook postInstall
|
|
'';
|
|
}
|