meshtastic-web: init at 2.6.7

This commit is contained in:
Pol Dellaiera
2025-12-09 08:12:20 +01:00
parent 70df7c89ee
commit 73d9a608e5
@@ -0,0 +1,41 @@
{
stdenv,
lib,
fetchurl,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "meshtastic-web";
version = "2.6.7";
src = fetchurl {
url = "https://github.com/meshtastic/web/releases/download/v${finalAttrs.version}/build.tar";
hash = "sha256-o09DYKBIZUOmmN4g3lM1V0kudjq0Wfwn/OqV0ElRRO0=";
};
sourceRoot = ".";
buildPhase = ''
runHook preBuild
gzip -dr .
runHook postBuild
'';
installPhase = ''
runHook preInstall
mkdir -p $out
cp -ar . $out/
runHook postInstall
'';
meta = {
description = "Meshtastic Web Client/JS Monorepo";
homepage = "https://github.com/meshtastic/web";
license = lib.licenses.gpl3Plus;
platforms = lib.platforms.all;
maintainers = with lib.maintainers; [ drupol ];
};
})