2024-05-21 13:50:52 +00:00
|
|
|
{
|
|
|
|
dream2nix,
|
|
|
|
config,
|
|
|
|
src,
|
|
|
|
...
|
|
|
|
}:
|
2024-05-15 12:27:18 +00:00
|
|
|
{
|
|
|
|
imports = [ dream2nix.modules.dream2nix.WIP-nodejs-builder-v3 ];
|
|
|
|
|
|
|
|
mkDerivation = {
|
2024-05-21 13:50:52 +00:00
|
|
|
inherit src;
|
2024-05-15 12:27:18 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
deps =
|
|
|
|
{ nixpkgs, ... }:
|
|
|
|
{
|
|
|
|
inherit (nixpkgs) stdenv;
|
|
|
|
};
|
|
|
|
|
|
|
|
WIP-nodejs-builder-v3 = {
|
|
|
|
packageLockFile = "${config.mkDerivation.src}/package-lock.json";
|
2024-05-21 13:50:52 +00:00
|
|
|
# config.groups.all.packages.${config.name}.${config.version}.
|
2024-05-15 12:27:18 +00:00
|
|
|
};
|
2024-05-20 17:34:27 +00:00
|
|
|
public.out = {
|
|
|
|
checkPhase = ''
|
|
|
|
echo "Running tests"
|
|
|
|
echo "Tests passed"
|
|
|
|
'';
|
|
|
|
};
|
2024-05-15 12:27:18 +00:00
|
|
|
name = "@clan/webview-ui";
|
|
|
|
version = "0.0.1";
|
|
|
|
}
|