2024-02-11 21:17:19 +01:00
|
|
|
{ buildNpmPackage
|
|
|
|
}:
|
|
|
|
|
|
|
|
{ version
|
|
|
|
, src
|
|
|
|
, meta
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildNpmPackage {
|
|
|
|
pname = "coolercontrol-ui";
|
|
|
|
inherit version src;
|
|
|
|
sourceRoot = "${src.name}/coolercontrol-ui";
|
|
|
|
|
2024-04-01 15:55:18 +02:00
|
|
|
npmDepsHash = "sha256-ZnuTtksB+HVYobL48S3RI8Ibe3pvDaF+YFAJJumiNxA=";
|
2024-02-11 21:17:19 +01:00
|
|
|
|
|
|
|
postBuild = ''
|
|
|
|
cp -r dist $out
|
|
|
|
'';
|
|
|
|
|
|
|
|
dontInstall = true;
|
|
|
|
|
|
|
|
meta = meta // {
|
|
|
|
description = "${meta.description} (UI data)";
|
|
|
|
};
|
|
|
|
}
|